[gtk+] wayland: Remove unused variable from grab implementation



commit e7e86ba5f463a8b2cd4d05d2b626408e1d97eea1
Author: Rob Bradford <rob linux intel com>
Date:   Thu Jan 12 13:37:10 2012 +0000

    wayland: Remove unused variable from grab implementation

 gdk/wayland/gdkdevice-wayland.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index bb48f5d..9ddf661 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -209,11 +209,8 @@ gdk_device_core_grab (GdkDevice    *device,
                       GdkCursor    *cursor,
                       guint32       time_)
 {
-  GdkDisplay *display;
   GdkWaylandDevice *wayland_device = GDK_DEVICE_CORE (device)->device;
 
-  display = gdk_device_get_display (device);
-
   if (gdk_device_get_source (device) == GDK_SOURCE_KEYBOARD)
     {
       /* Device is a keyboard */



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