[gtk+/gtk-2-24] Add G_ENABLE_DEBUG #ifdef check in gdkdisplay-win32.c
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] Add G_ENABLE_DEBUG #ifdef check in gdkdisplay-win32.c
- Date: Thu, 16 Jun 2011 05:33:53 +0000 (UTC)
commit d0aa7ffc61d67b42a2343fd144bb74a20fbbe7c8
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Thu Jun 16 13:48:56 2011 +0800
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.
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 6f48a2f..2611c03 100644
--- a/gdk/win32/gdkdisplay-win32.c
+++ b/gdk/win32/gdkdisplay-win32.c
@@ -383,14 +383,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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]