Skip to content
  • Tor Lillqvist's avatar
    Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function · ec1e8f1f
    Tor Lillqvist authored
    2000-03-07  Tor Lillqvist  <tml@iki.fi>
    
    * 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...
    ec1e8f1f