[gtk+/xi2: 654/1239] Small cleanup in X11 window set_device_cursor() implementation.



commit 5fdc0090fa1b9e8287b435fe92f469220d5b7f25
Author: Carlos Garnacho <carlos lanedo com>
Date:   Thu Jul 30 19:20:13 2009 +0200

    Small cleanup in X11 window set_device_cursor() implementation.

 gdk/x11/gdkwindow-x11.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 4205029..3d80c37 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -2744,7 +2744,6 @@ gdk_window_x11_set_device_cursor (GdkWindow *window,
                                   GdkCursor *cursor)
 {
   GdkWindowObject *private;
-  GdkCursorPrivate *cursor_private;
   GdkWindowImplX11 *impl;
 
   g_return_if_fail (GDK_IS_WINDOW (window));
@@ -2752,7 +2751,6 @@ gdk_window_x11_set_device_cursor (GdkWindow *window,
 
   private = (GdkWindowObject *) window;
   impl = GDK_WINDOW_IMPL_X11 (private->impl);
-  cursor_private = (GdkCursorPrivate *) cursor;
 
   if (!cursor)
     g_hash_table_remove (impl->device_cursor, device);



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