From ec1e8f1f5d81223738e4cc3f7fddd1f84df65d7e Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 8 Mar 2000 06:18:41 +0000 Subject: Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function 2000-03-07 Tor Lillqvist * gdk/win32/gdkmain-win32.c: Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function for reporting errors from GDI, for which it is no use to call GetLastError on Win9x. (gdk_other_api_failed) New function, for general error reporting without calling GetLastError. (gdk_win32_api_failed) OTOH, this function always calls GetLastError. (gdk_win32_last_error_string) Remove this function, GLib has the equivalent now. * gdk/win32/gdkprivate-win32.h: Declare the above, and macros to call them with function name, file name and line number in the arguments. * gdk/win32/*.c: Use the new macros for reporting errors from GDI functions. * gtk/gtk.def: Add some missing entry points. * gtk/gtkcompat.h.in: Define gtk_paned_gutter_size and gtk_paned_set_gutter_size, which don't exist any longer, as void. Fixes by Hans Breuer: * gdk/makefile.msc: Update for debugging. * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Fake implementation, just use the PS_DASH, PS_DOT, PS_DASHDOT or PS_DASHDOTDOT or PS_DASH styles depending on the number of entries in the dash_list. * gdk/win32/gdkwin32.h (GDK_FONT_XFONT): New macro, similar as in the x11 backend. * gdk/win32/gdkprivate-win32.h (IS_WIN_NT): New macro. * gtk/testgtk.c: Include config.h, guard inclusion of unistd.h. --- gtk/gtkcompat.h.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk/gtkcompat.h.in') diff --git a/gtk/gtkcompat.h.in b/gtk/gtkcompat.h.in index cbd603d27..1b24d9eff 100644 --- a/gtk/gtkcompat.h.in +++ b/gtk/gtkcompat.h.in @@ -64,7 +64,8 @@ extern "C" { #define gtk_container_border_width gtk_container_set_border_width #define gtk_notebook_current_page gtk_notebook_get_current_page #define gtk_packer_configure gtk_packer_set_child_packing -#define gtk_paned_gutter_size gtk_paned_set_gutter_size +#define gtk_paned_gutter_size(p,s) (void) 0 +#define gtk_paned_set_gutter_size(p,s) (void) 0 #define gtk_paned_handle_size gtk_paned_set_handle_size #define gtk_scale_value_width gtk_scale_get_value_width #define gtk_window_position gtk_window_set_position -- cgit v1.2.1