diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2011-06-16 13:48:56 +0800 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2011-11-10 17:40:49 +0100 |
commit | b18718ac7e7b062066e1649cd7f44a619d594cb0 (patch) | |
tree | 40f2969a8f1c758499f13c65d2169d1fed6a433f /gdk/win32 | |
parent | 1afc29d869f3928095864a0a05cd4a1753a488c1 (diff) | |
download | gtk+-b18718ac7e7b062066e1649cd7f44a619d594cb0.tar.gz |
Add G_ENABLE_DEBUG #ifdef check in gdkdisplay-win32.c
Commit 88707e6912c376faedf0b8c5b02895aa18473cb4 used
_gdk_win32_cf_to_string, which is only defined when G_ENABLE_DEBUG
is defined, so add G_ENABLE_DEBUG #ifdef around that part.
Diffstat (limited to 'gdk/win32')
-rw-r--r-- | gdk/win32/gdkdisplay-win32.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/win32/gdkdisplay-win32.c b/gdk/win32/gdkdisplay-win32.c index 7c783d3991..74a8d666e7 100644 --- a/gdk/win32/gdkdisplay-win32.c +++ b/gdk/win32/gdkdisplay-win32.c @@ -396,14 +396,17 @@ inner_clipboard_window_procedure (HWND hwnd, GDK_NOTE (DND, g_print (" drawclipboard owner: %p", hwndOwner)); +#ifdef G_ENABLE_DEBUG if (_gdk_debug_flags & GDK_DEBUG_DND) { while ((nFormat = EnumClipboardFormats (nFormat)) != 0) g_print ("%s ", _gdk_win32_cf_to_string (nFormat)); } +#endif GDK_NOTE (DND, g_print (" \n")); + event = gdk_event_new (GDK_OWNER_CHANGE); event->owner_change.window = _gdk_root; event->owner_change.owner = owner; |