[gtk+/xi2: 1232/1239] Fix typo in variable declaration.



commit ec77821b0069a024cc3596fa5b4969fc5450f375
Author: Carlos Garnacho <carlos gnome org>
Date:   Sun Sep 27 23:56:35 2009 +0200

    Fix typo in variable declaration.

 gdk/x11/gdkinput.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/x11/gdkinput.c b/gdk/x11/gdkinput.c
index 7d93971..6ec0aa8 100644
--- a/gdk/x11/gdkinput.c
+++ b/gdk/x11/gdkinput.c
@@ -375,7 +375,7 @@ _gdk_input_select_device_events (GdkWindow *impl_window,
   guint event_mask;
   GdkWindowObject *w;
   GdkInputWindow *iw;
-  GdkInputMode *mode;
+  GdkInputMode mode;
   gboolean has_cursor;
   GList *l;
 
@@ -500,7 +500,7 @@ gdk_input_set_extension_events (GdkWindow *window, gint mask,
   for (tmp_list = display_x11->input_devices; tmp_list; tmp_list = tmp_list->next)
     {
       GdkDevice *dev = tmp_list->data;
-      _gdk_input_select_device_events (impl_window, dev);
+      _gdk_input_select_device_events (GDK_WINDOW (impl_window), dev);
     }
 }
 



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