From 4b92654b292c09c8dd2b0b71b24dbd28cd446c80 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 29 Nov 2014 03:18:50 +0100 Subject: [PATCH] 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. --- gtk/gtkrange.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c index 3b6def5f4f..4420140a03 100644 --- a/gtk/gtkrange.c +++ b/gtk/gtkrange.c @@ -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"); }