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



Hi there,
the attached simple patch fixes a typo in
gdk_window_set_device_cursor(). Applies against master.

Cheers,
   Christian
From 2bbb99aa4960822f05ef59643e0a2a8938765233 Mon Sep 17 00:00:00 2001
From: Christian Beier <dontmind freeshell org>
Date: Wed, 26 May 2010 13:22:25 +0200
Subject: [PATCH] gdk/gdkwindow.c: fix a typo in gdk_window_set_device_cursor().


Signed-off-by: Christian Beier <dontmind freeshell 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);
-- 
1.7.0.4

Attachment: signature.asc
Description: PGP signature



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