diff options
author | Matthias Clasen <maclas@gmx.de> | 2004-07-16 00:38:06 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-07-16 00:38:06 +0000 |
commit | f436df88d34992403d216d348d26a62af04c6978 (patch) | |
tree | 6c49a34998981cd5ee6c7779365f6ec8c9420275 | |
parent | e0e35c0cd9db44c9007c69a541fafcde07bcda9e (diff) | |
download | gdk-pixbuf-f436df88d34992403d216d348d26a62af04c6978.tar.gz |
Install the timeout before changing the value, so that a ::value_changed
Thu Jul 15 20:31:28 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkspinbutton.c (start_spinning): Install the timeout
before changing the value, so that a ::value_changed handler
has a chance to remove it. (#122427, Elke Meier)
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 8 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 8 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 8 | ||||
-rw-r--r-- | gtk/gtkspinbutton.c | 2 |
5 files changed, 29 insertions, 5 deletions
@@ -1,6 +1,12 @@ +Thu Jul 15 20:31:28 2004 Matthias Clasen <maclas@gmx.de> + + * gtk/gtkspinbutton.c (start_spinning): Install the timeout + before changing the value, so that a ::value_changed handler + has a chance to remove it. (#122427, Elke Meier) + Thu Jul 15 19:20:05 2004 Matthias Clasen <maclas@gmx.de> - * gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale): + * gdk/x11/gdkgtk+/im-x11.c (_gdk_x11_initialize_locale): * gtk/gtkcalendar.c (gtk_calendar_class_init): Use 'cannot' instead of 'can not' in messages. (#144226, Morten Welinder) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index e041a280f..690681f5c 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,6 +1,12 @@ +Thu Jul 15 20:31:28 2004 Matthias Clasen <maclas@gmx.de> + + * gtk/gtkspinbutton.c (start_spinning): Install the timeout + before changing the value, so that a ::value_changed handler + has a chance to remove it. (#122427, Elke Meier) + Thu Jul 15 19:20:05 2004 Matthias Clasen <maclas@gmx.de> - * gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale): + * gdk/x11/gdkgtk+/im-x11.c (_gdk_x11_initialize_locale): * gtk/gtkcalendar.c (gtk_calendar_class_init): Use 'cannot' instead of 'can not' in messages. (#144226, Morten Welinder) diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index e041a280f..690681f5c 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,6 +1,12 @@ +Thu Jul 15 20:31:28 2004 Matthias Clasen <maclas@gmx.de> + + * gtk/gtkspinbutton.c (start_spinning): Install the timeout + before changing the value, so that a ::value_changed handler + has a chance to remove it. (#122427, Elke Meier) + Thu Jul 15 19:20:05 2004 Matthias Clasen <maclas@gmx.de> - * gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale): + * gdk/x11/gdkgtk+/im-x11.c (_gdk_x11_initialize_locale): * gtk/gtkcalendar.c (gtk_calendar_class_init): Use 'cannot' instead of 'can not' in messages. (#144226, Morten Welinder) diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index e041a280f..690681f5c 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,6 +1,12 @@ +Thu Jul 15 20:31:28 2004 Matthias Clasen <maclas@gmx.de> + + * gtk/gtkspinbutton.c (start_spinning): Install the timeout + before changing the value, so that a ::value_changed handler + has a chance to remove it. (#122427, Elke Meier) + Thu Jul 15 19:20:05 2004 Matthias Clasen <maclas@gmx.de> - * gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale): + * gdk/x11/gdkgtk+/im-x11.c (_gdk_x11_initialize_locale): * gtk/gtkcalendar.c (gtk_calendar_class_init): Use 'cannot' instead of 'can not' in messages. (#144226, Morten Welinder) diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c index 2a062115b..56db1715d 100644 --- a/gtk/gtkspinbutton.c +++ b/gtk/gtkspinbutton.c @@ -1077,7 +1077,6 @@ start_spinning (GtkSpinButton *spin, g_return_if_fail (click_child == GTK_ARROW_UP || click_child == GTK_ARROW_DOWN); spin->click_child = click_child; - gtk_spin_button_real_spin (spin, click_child == GTK_ARROW_UP ? step : -step); if (!spin->timer) { @@ -1087,6 +1086,7 @@ start_spinning (GtkSpinButton *spin, (GSourceFunc) gtk_spin_button_timer, (gpointer) spin); } + gtk_spin_button_real_spin (spin, click_child == GTK_ARROW_UP ? step : -step); spin_button_redraw (spin); } |