summaryrefslogtreecommitdiff
path: root/gdk/win32/gdkprivate-win32.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2000-02-13 23:19:23 +0000
committerTor Lillqvist <tml@src.gnome.org>2000-02-13 23:19:23 +0000
commit37cfb7d74b85d3fd8f1714e83b94c8d449c08cb9 (patch)
treee1a8a804b1d321d6dedb8c8efd613718ee86367e /gdk/win32/gdkprivate-win32.h
parent95a9052d561b824e6071c6e8ee24fb1fe07b7b8a (diff)
downloadgtk+-37cfb7d74b85d3fd8f1714e83b94c8d449c08cb9.tar.gz
Move the test for no segments before the assertion for non-NULL segment
2000-02-14 Tor Lillqvist <tml@iki.fi> * gdk/gdkdraw.c (gdk_draw_segments): Move the test for no segments before the assertion for non-NULL segment list. * gdk/win32/gdkgc-win32.c: (gdk_win32_gc_values_to_win32values): Seems that pattern brushes *must* be 8x8 pixels! At least on my machine, but it might be display driver dependent. Sigh, so make sure the stipple is that size. Does Windows suck or what? * gdk/win32/gdkdrawable-win32.c: Improve error handling in a few places.
Diffstat (limited to 'gdk/win32/gdkprivate-win32.h')
-rw-r--r--gdk/win32/gdkprivate-win32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/win32/gdkprivate-win32.h b/gdk/win32/gdkprivate-win32.h
index 75ebfb1a1c..c7b6df7691 100644
--- a/gdk/win32/gdkprivate-win32.h
+++ b/gdk/win32/gdkprivate-win32.h
@@ -153,8 +153,8 @@ struct _GdkGCWin32Data
*/
HDC xgc;
GdkGCValuesMask values_mask;
- gulong foreground;
- gulong background;
+ gulong foreground; /* Pixel values from GdkColor, */
+ gulong background; /* not Win32 COLORREFs */
GdkFont *font;
gint rop2;
GdkFill fill_style;