summaryrefslogtreecommitdiff
path: root/gdk/win32/gdkprivate-win32.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2000-10-22 17:16:42 +0000
committerTor Lillqvist <tml@src.gnome.org>2000-10-22 17:16:42 +0000
commitf49a2a00555f1a788dce75003928f88ddfa61559 (patch)
treeccc190ac443bf14e2475ece793fd23d9e6666ce2 /gdk/win32/gdkprivate-win32.h
parent5fd61965e443bba8a8ce85bb02683c8a32b919fc (diff)
downloadgtk+-f49a2a00555f1a788dce75003928f88ddfa61559.tar.gz
gdk/win32/gdkgc-win32.c Remove gcc -Wall warnings.
2000-10-22 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkgc-win32.c * gdk/win32/gdkimage-win32.c: Remove gcc -Wall warnings. Patches by Hans Breuer: * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_glyphs): Call SetBkMode() and SetTextAlign() before calling pango_win32_render(). * gdk/win32/gdkgc-win32.c (gdk_win32_gc_values_to_win32values): Set hcliprgn to NULL after destroying it. (gdk_gc_set_clip_rectangle): Delete hcliprgn and set to NULL. * gdk/win32/gdkgeometry-win32.c (_gdk_windowing_window_queue_antiexpose): More effective implementation. * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new): Use drawable's depth as default, not the visual's. * gdk/win32/gdkwindow-win32.c (gdk_window_set_title): Guard against empty title. * gdk/win32/gdkprivate-win32.h: Define a helper macro, IMAGE_PRIVATE_DATA. * gdk/win32/gdkimage-win32.c (gdk_image_get_type): Use it.
Diffstat (limited to 'gdk/win32/gdkprivate-win32.h')
-rw-r--r--gdk/win32/gdkprivate-win32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/win32/gdkprivate-win32.h b/gdk/win32/gdkprivate-win32.h
index 6f65b74f2a..8b855252e1 100644
--- a/gdk/win32/gdkprivate-win32.h
+++ b/gdk/win32/gdkprivate-win32.h
@@ -127,4 +127,6 @@ extern DWORD windows_version;
extern gint gdk_input_ignore_wintab;
+#define IMAGE_PRIVATE_DATA(image) ((GdkImagePrivateWin32 *) GDK_IMAGE (image)->windowing_data)
+
#endif /* __GDK_PRIVATE_WIN32_H__ */