range: Remove unnecessary queue_draw calls

This commit is contained in:
Timm Bäder 2018-02-17 09:48:57 +01:00
parent c200758c26
commit 8a38f62915

View File

@ -1954,8 +1954,6 @@ gtk_range_multipress_gesture_pressed (GtkGestureMultiPress *gesture,
update_initial_slider_position (range, x, y, &slider_alloc);
range_grab_add (range, priv->slider_widget);
gtk_widget_queue_draw (widget);
}
else if (priv->mouse_location == priv->trough_widget &&
(source == GDK_SOURCE_TOUCHSCREEN ||
@ -1985,8 +1983,6 @@ gtk_range_multipress_gesture_pressed (GtkGestureMultiPress *gesture,
range_grab_add (range, priv->slider_widget);
gtk_widget_queue_draw (widget);
update_slider_position (range, x, y);
}
else if (priv->mouse_location == priv->trough_widget &&