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)
This commit is contained in:
Matthias Clasen 2004-07-16 00:38:06 +00:00 committed by Matthias Clasen
parent e0e35c0cd9
commit f436df88d3
5 changed files with 29 additions and 5 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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);
}