Commit 2ef4f1bc authored by Carlos Garnacho's avatar Carlos Garnacho
Browse files

textview: remove superfluous GTK+ grabs

parent bae68b55
......@@ -7052,10 +7052,6 @@ gtk_text_view_start_selection_drag (GtkTextView *text_view,
data->granularity = SELECT_CHARACTERS;
priv->grab_device = button->device;
gtk_device_grab_add (GTK_WIDGET (text_view),
priv->grab_device,
TRUE);
buffer = get_buffer (text_view);
cursor = *iter;
......@@ -7138,8 +7134,6 @@ gtk_text_view_end_selection_drag (GtkTextView *text_view)
priv->scroll_timeout = 0;
}
gtk_device_grab_remove (GTK_WIDGET (text_view),
priv->grab_device);
priv->grab_device = NULL;
if (priv->magnifier_popover)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment