Commit 53c1b21f authored by Hans Breuer's avatar Hans Breuer
Browse files

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.
parent 5fe02750
...@@ -47,6 +47,9 @@ ...@@ -47,6 +47,9 @@
#ifdef GDK_WINDOWING_X11 #ifdef GDK_WINDOWING_X11
#include "gdk/x11/gdkx.h" #include "gdk/x11/gdkx.h"
#endif #endif
#ifdef GDK_WINDOWING_WIN32
#include "gdk/win32/gdkwin32.h"
#endif
#ifdef GDK_WINDOWING_WIN32 #ifdef GDK_WINDOWING_WIN32
#include "gtkicontheme.h" #include "gtkicontheme.h"
...@@ -643,7 +646,7 @@ build_button_event (GtkStatusIconPrivate *priv, ...@@ -643,7 +646,7 @@ build_button_event (GtkStatusIconPrivate *priv,
e->axes = NULL; e->axes = NULL;
e->state = 0; e->state = 0;
e->button = button; 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->x_root = e->x;
e->y_root = e->y; e->y_root = e->y;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment