Commit f436df88 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

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)
parent e0e35c0c
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)
......
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)
......
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)
......
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)
......
......@@ -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);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment