]> Pileus Git - ~andy/gtk/commitdiff
wayland: Remove unused variable from grab implementation
authorRob Bradford <rob@linux.intel.com>
Thu, 12 Jan 2012 13:37:10 +0000 (13:37 +0000)
committerRob Bradford <rob@linux.intel.com>
Thu, 12 Jan 2012 13:48:57 +0000 (13:48 +0000)
gdk/wayland/gdkdevice-wayland.c

index bb48f5d5f6c5bec804268df4e245e29701896bf8..9ddf661fe9d952680074c9185570c7856eeb44b5 100644 (file)
@@ -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 */