[gtk+] range: remove duplicated code
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] range: remove duplicated code
- Date: Sun, 6 Mar 2016 19:13:30 +0000 (UTC)
commit de1c4bad6fedd6c18c88676cffe0998e1133b8c7
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sun Mar 6 10:41:34 2016 -0800
range: remove duplicated code
This is already called by range_grab_add().
gtk/gtkrange.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 3da3dc0..0ec34b4 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -2720,8 +2720,6 @@ gtk_range_multipress_gesture_pressed (GtkGestureMultiPress *gesture,
range_grab_add (range, priv->mouse_location);
- gtk_range_queue_draw_location (range, priv->mouse_location);
-
scroll = range_get_scroll_for_grab (range);
if (scroll == GTK_SCROLL_START || scroll == GTK_SCROLL_END)
gtk_range_scroll (range, scroll);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]