summaryrefslogtreecommitdiff
path: root/packages/gtk+/gtk+-2.10.14/range-no-redraw.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/gtk+/gtk+-2.10.14/range-no-redraw.patch
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/gtk+/gtk+-2.10.14/range-no-redraw.patch')
-rw-r--r--packages/gtk+/gtk+-2.10.14/range-no-redraw.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/packages/gtk+/gtk+-2.10.14/range-no-redraw.patch b/packages/gtk+/gtk+-2.10.14/range-no-redraw.patch
deleted file mode 100644
index e3603d7700..0000000000
--- a/packages/gtk+/gtk+-2.10.14/range-no-redraw.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-Index: gtk/gtkrange.c
-===================================================================
---- gtk/gtkrange.c (revision 18523)
-+++ gtk/gtkrange.c (working copy)
-@@ -99,6 +99,8 @@
-
- GtkSensitivityType lower_sensitivity;
- GtkSensitivityType upper_sensitivity;
-+
-+ guint motion_idle;
- };
-
-
-@@ -1721,6 +1723,16 @@
- &handled);
- }
-
-+static gboolean
-+update_slider_position_idle (GtkRange *range)
-+{
-+ update_slider_position (range, range->layout->mouse_x,range->layout->mouse_y);
-+
-+ range->layout->motion_idle = 0;
-+
-+ return FALSE;
-+}
-+
- static void
- stop_scrolling (GtkRange *range)
- {
-@@ -1860,8 +1872,8 @@
- if (gtk_range_update_mouse_location (range))
- gtk_widget_queue_draw (widget);
-
-- if (range->layout->grab_location == MOUSE_SLIDER)
-- update_slider_position (range, x, y);
-+ if (range->layout->grab_location == MOUSE_SLIDER && !range->layout->motion_idle)
-+ range->layout->motion_idle = g_idle_add ((GSourceFunc)update_slider_position_idle, range);
-
- /* We handled the event if the mouse was in the range_rect */
- return range->layout->mouse_location != MOUSE_OUTSIDE;