[gtk+/gdk-backend] Another warning



commit 920c0ba44164ee0199d116654784266ab9226f6d
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Dec 13 13:13:49 2010 -0500

    Another warning

 gdk/x11/gdkcursor-x11.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c
index 7ea038e..b257b61 100644
--- a/gdk/x11/gdkcursor-x11.c
+++ b/gdk/x11/gdkcursor-x11.c
@@ -678,9 +678,6 @@ _gdk_x11_display_get_default_cursor_size (GdkDisplay *display,
                                           guint      *width,
                                           guint      *height)
 {
-  g_return_val_if_fail (GDK_IS_DISPLAY (display), FALSE);
-  guint size;
-
   *width = *height = XcursorGetDefaultSize (GDK_DISPLAY_XDISPLAY (display));
 }
 



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