gtk2/gdk/win32
Tor Lillqvist ec1e8f1f5d Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function
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-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.
2000-03-08 06:18:41 +00:00
..
rc Add an extra parameter so that we don't have to do unnecessary settings to 2000-02-13 14:52:47 +00:00
.cvsignore .cvsignore additions 2000-01-21 21:57:14 +00:00
gdkcc-win32.c configure.in gdk/Makefile.am gdk/x11/Makefile.am Small fixes, thanks to 2000-01-15 16:04:54 +00:00
gdkcolor-win32.c Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function 2000-03-08 06:18:41 +00:00
gdkcursor-win32.c init refcount to 1 (gdk_cursor_new): init refcount to 1 2000-02-13 20:22:20 +00:00
gdkdnd-win32.c Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function 2000-03-08 06:18:41 +00:00
gdkdrawable-win32.c Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function 2000-03-08 06:18:41 +00:00
gdkevents-win32.c Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function 2000-03-08 06:18:41 +00:00
gdkfont-win32.c Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function 2000-03-08 06:18:41 +00:00
gdkgc-win32.c Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function 2000-03-08 06:18:41 +00:00
gdkglobals-win32.c Further hacking. Now actually compiles. Haven't tried yet whether 1999-11-20 01:22:57 +00:00
gdkim-win32.c Use g_filename_to_utf8 to convert the font names Windows gives us from 2000-02-03 01:19:03 +00:00
gdkimage-win32.c Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function 2000-03-08 06:18:41 +00:00
gdkinput-win32.c gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 1999-12-30 00:07:48 +00:00
gdkinputprivate.h A few includes added for the picky MSVC compiler. 1999-10-02 22:53:45 +00:00
gdkmain-win32.c Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function 2000-03-08 06:18:41 +00:00
gdkpixmap-win32.c Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function 2000-03-08 06:18:41 +00:00
gdkprivate-win32.h Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function 2000-03-08 06:18:41 +00:00
gdkproperty-win32.c Add an extra parameter so that we don't have to do unnecessary settings to 2000-02-13 14:52:47 +00:00
gdkregion-win32.c Further hacking. Now actually compiles. Haven't tried yet whether 1999-11-20 01:22:57 +00:00
gdkselection-win32.c Add an extra parameter so that we don't have to do unnecessary settings to 2000-02-13 14:52:47 +00:00
gdkvisual-win32.c Further hacking. Now actually compiles. Haven't tried yet whether 1999-11-20 01:22:57 +00:00
gdkwin32.h Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function 2000-03-08 06:18:41 +00:00
gdkwin32id.c Further hacking. Now actually compiles. Haven't tried yet whether 1999-11-20 01:22:57 +00:00
gdkwindow-win32.c Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function 2000-03-08 06:18:41 +00:00
Makefile.am configure.in gdk/Makefile.am gdk/x11/Makefile.am Small fixes, thanks to 2000-01-15 16:04:54 +00:00
makefile.cygwin Store just pixel value of background colour. 2000-03-03 23:21:51 +00:00
makefile.msc gdk/Makefile.am Distribute Win32 files. 1999-12-11 23:41:46 +00:00
surrogate-dimm.h Just renamed the Win32 backend files to *-win32. 1999-11-10 00:04:17 +00:00