[gtk+/events-refactor: 814/1085] GdkDisplayX11: Fix critical warning.



commit ebb9e41a452e468d9249ea48393fba59df56ff96
Author: Carlos Garnacho <carlos lanedo com>
Date:   Mon Aug 24 02:35:30 2009 +0200

    GdkDisplayX11: Fix critical warning.

 gdk/x11/gdkdisplay-x11.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c
index da980a2..dc17a5b 100644
--- a/gdk/x11/gdkdisplay-x11.c
+++ b/gdk/x11/gdkdisplay-x11.c
@@ -324,7 +324,7 @@ get_event_window (GdkEventTranslator *translator,
   GdkDisplay *display;
   Window xwindow;
 
-  display = gdk_device_manager_get_display (GDK_DEVICE_MANAGER (translator));
+  display = (GdkDisplay *) translator;
 
   switch (xevent->type)
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]