diff options
author | Tor Lillqvist <tml@novell.com> | 2005-07-18 15:20:28 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2005-07-18 15:20:28 +0000 |
commit | 80d2565d1c9409618eedc4654ce55e96e14f5b10 (patch) | |
tree | 456e00e9ac45c4dc138983a44e7b1f408b317f81 /gdk/win32/gdkgc-win32.c | |
parent | a8b97834de14aa6363370de094321215481936bb (diff) | |
download | gtk+-80d2565d1c9409618eedc4654ce55e96e14f5b10.tar.gz |
[Win32] Bypass libtool, use -Wl,-luuid. This avoids a libtool warning as
2005-07-18 Tor Lillqvist <tml@novell.com>
* configure.in (GDK_EXTRA_LIBS): [Win32] Bypass libtool, use
-Wl,-luuid. This avoids a libtool warning as libuuid is static.
* gdk/win32/gdkgc-win32.c (gdk_win32_hdc_get): Be sure to remove
any possible leftover clipping region in the DC if we don't want
any clipping. Thanks to Robert Ă–gren. (#309823)
Diffstat (limited to 'gdk/win32/gdkgc-win32.c')
-rw-r--r-- | gdk/win32/gdkgc-win32.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/win32/gdkgc-win32.c b/gdk/win32/gdkgc-win32.c index f1cc6c3c17..51c927ffaa 100644 --- a/gdk/win32/gdkgc-win32.c +++ b/gdk/win32/gdkgc-win32.c @@ -925,6 +925,8 @@ gdk_win32_hdc_get (GdkDrawable *drawable, win32_gc->values_mask & GDK_GC_CLIP_Y_ORIGIN ? gc->clip_y_origin : 0) == ERROR) WIN32_API_FAILED ("OffsetClipRgn"), ok = FALSE; } + else if (ok) + SelectClipRgn (win32_gc->hdc, NULL); GDK_NOTE (GC, (g_print ("gdk_win32_hdc_get: %p (%s): ", win32_gc, _gdk_win32_gcvalues_mask_to_string (usage)), |