[gtk+] gdk/gdkwindow.c: fix a typo in gdk_window_set_device_cursor().



commit 95c824c553703972894f32a1bbcb7b0c8b22504a
Author: Christian Beier <dontmind freeshell org>
Date:   Wed May 26 13:22:25 2010 +0200

    gdk/gdkwindow.c: fix a typo in gdk_window_set_device_cursor().
    
    Signed-off-by: Christian Beier <dontmind freeshell org>
    Signed-off-by: Javier Jardón <jjardon gnome org>

 gdk/gdkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 17d6e20..f705b6c 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -8378,7 +8378,7 @@ gdk_window_set_device_cursor (GdkWindow *window,
   GdkDisplay *display;
 
   g_return_if_fail (GDK_IS_WINDOW (window));
-  g_return_if_fail (GDK_IS_DEVICE (window));
+  g_return_if_fail (GDK_IS_DEVICE (device));
 
   private = (GdkWindowObject *) window;
   display = gdk_drawable_get_display (window);



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