mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 18:00:09 +00:00
iconview: remove superfluous GTK+ grabs
This commit is contained in:
parent
46b4e5d388
commit
bae68b5511
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user