From 74ce92f524dad3546dfda7b44656abaf3a675a02 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 21 Sep 2002 18:52:39 +0000 Subject: [PATCH] Silence a gcc warning, use %p to print a HKL. 2002-09-21 Tor Lillqvist * gdk/win32/gdkmain-win32.c (_gdk_windowing_init_check): Silence a gcc warning, use %p to print a HKL. --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ ChangeLog.pre-2-2 | 3 +++ ChangeLog.pre-2-4 | 3 +++ ChangeLog.pre-2-6 | 3 +++ ChangeLog.pre-2-8 | 3 +++ gdk/win32/gdkmain-win32.c | 2 +- 7 files changed, 19 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6c522bcf18..f1180d0133 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-09-21 Tor Lillqvist + * gdk/win32/gdkmain-win32.c (_gdk_windowing_init_check): Silence a + gcc warning, use %p to print a HKL. + * gdk/win32/gdkevents-win32.c (gdk_event_translate): WM_SYSKEYDOWN, WM_SYSKEYUP: Need to handle F10 specially here in order to be able to handle it normally in the application. Set diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 6c522bcf18..f1180d0133 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2002-09-21 Tor Lillqvist + * gdk/win32/gdkmain-win32.c (_gdk_windowing_init_check): Silence a + gcc warning, use %p to print a HKL. + * gdk/win32/gdkevents-win32.c (gdk_event_translate): WM_SYSKEYDOWN, WM_SYSKEYUP: Need to handle F10 specially here in order to be able to handle it normally in the application. Set diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 6c522bcf18..f1180d0133 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,5 +1,8 @@ 2002-09-21 Tor Lillqvist + * gdk/win32/gdkmain-win32.c (_gdk_windowing_init_check): Silence a + gcc warning, use %p to print a HKL. + * gdk/win32/gdkevents-win32.c (gdk_event_translate): WM_SYSKEYDOWN, WM_SYSKEYUP: Need to handle F10 specially here in order to be able to handle it normally in the application. Set diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 6c522bcf18..f1180d0133 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,5 +1,8 @@ 2002-09-21 Tor Lillqvist + * gdk/win32/gdkmain-win32.c (_gdk_windowing_init_check): Silence a + gcc warning, use %p to print a HKL. + * gdk/win32/gdkevents-win32.c (gdk_event_translate): WM_SYSKEYDOWN, WM_SYSKEYUP: Need to handle F10 specially here in order to be able to handle it normally in the application. Set diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 6c522bcf18..f1180d0133 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,5 +1,8 @@ 2002-09-21 Tor Lillqvist + * gdk/win32/gdkmain-win32.c (_gdk_windowing_init_check): Silence a + gcc warning, use %p to print a HKL. + * gdk/win32/gdkevents-win32.c (gdk_event_translate): WM_SYSKEYDOWN, WM_SYSKEYUP: Need to handle F10 specially here in order to be able to handle it normally in the application. Set diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 6c522bcf18..f1180d0133 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,8 @@ 2002-09-21 Tor Lillqvist + * gdk/win32/gdkmain-win32.c (_gdk_windowing_init_check): Silence a + gcc warning, use %p to print a HKL. + * gdk/win32/gdkevents-win32.c (gdk_event_translate): WM_SYSKEYDOWN, WM_SYSKEYUP: Need to handle F10 specially here in order to be able to handle it normally in the application. Set diff --git a/gdk/win32/gdkmain-win32.c b/gdk/win32/gdkmain-win32.c index 87dd6cfe89..9442022129 100644 --- a/gdk/win32/gdkmain-win32.c +++ b/gdk/win32/gdkmain-win32.c @@ -92,7 +92,7 @@ _gdk_windowing_init_check (int argc, LOCALE_IDEFAULTANSICODEPAGE, buf, sizeof (buf)); _gdk_input_codepage = atoi (buf); - GDK_NOTE (EVENTS, g_print ("input_locale:%#lx, codepage:%d\n", + GDK_NOTE (EVENTS, g_print ("input_locale:%p, codepage:%d\n", _gdk_input_locale, _gdk_input_codepage)); CoInitialize (NULL);