range: No need to update mouse location when starting a drag

The mouse position doesn't change here. Plus, all callers have just
updated it anyway.
This commit is contained in:
Benjamin Otte 2014-11-29 03:18:50 +01:00
parent 87c564ecf3
commit 4b92654b29

View File

@ -2253,9 +2253,6 @@ range_grab_add (GtkRange *range,
*/
priv->grab_location = location;
if (gtk_range_update_mouse_location (range))
gtk_widget_queue_draw (GTK_WIDGET (range));
gtk_style_context_add_class (context, "dragging");
}