[gtk+/gestures: 60/92] iconview: remove superfluous GTK+ grabs



commit 0c8c38aab40566bfc1f6657f8442ba5609e542d5
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Apr 8 20:23:00 2014 +0200

    iconview: remove superfluous GTK+ grabs

 gtk/gtkiconview.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index 4cd36b9..9323dc3 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -2595,8 +2595,6 @@ gtk_icon_view_start_rubberbanding (GtkIconView  *icon_view,
 
   icon_view->priv->doing_rubberband = TRUE;
   icon_view->priv->rubberband_device = device;
-
-  gtk_device_grab_add (GTK_WIDGET (icon_view), device, TRUE);
 }
 
 static void
@@ -2605,9 +2603,6 @@ gtk_icon_view_stop_rubberbanding (GtkIconView *icon_view)
   if (!icon_view->priv->doing_rubberband)
     return;
 
-  gtk_device_grab_remove (GTK_WIDGET (icon_view),
-                          icon_view->priv->rubberband_device);
-
   icon_view->priv->doing_rubberband = FALSE;
   icon_view->priv->rubberband_device = NULL;
 


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