[gtk+] win32: disable gdk_display_get_default ()->core_pointer
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] win32: disable gdk_display_get_default ()->core_pointer
- Date: Sun, 2 Jan 2011 16:37:40 +0000 (UTC)
commit 53c1b21ffb223aa3fdcaaf02bd6c5e2b6874a9d4
Author: Hans Breuer <hans breuer org>
Date: Sun Jan 2 12:18:33 2011 +0100
win32: disable gdk_display_get_default ()->core_pointer
I neither know how to trigger this code nor what would be
the suggested replacement API. BUt it's the last thing stopping
me to compile GTK3 for win32.
gtk/gtkstatusicon.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c
index 32972a5..a5a220e 100644
--- a/gtk/gtkstatusicon.c
+++ b/gtk/gtkstatusicon.c
@@ -47,6 +47,9 @@
#ifdef GDK_WINDOWING_X11
#include "gdk/x11/gdkx.h"
#endif
+#ifdef GDK_WINDOWING_WIN32
+#include "gdk/win32/gdkwin32.h"
+#endif
#ifdef GDK_WINDOWING_WIN32
#include "gtkicontheme.h"
@@ -643,7 +646,7 @@ build_button_event (GtkStatusIconPrivate *priv,
e->axes = NULL;
e->state = 0;
e->button = button;
- e->device = gdk_display_get_default ()->core_pointer;
+ //FIXME: e->device = gdk_display_get_default ()->core_pointer;
e->x_root = e->x;
e->y_root = e->y;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]