summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2004-07-16 00:38:06 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-07-16 00:38:06 +0000
commitf436df88d34992403d216d348d26a62af04c6978 (patch)
tree6c49a34998981cd5ee6c7779365f6ec8c9420275
parente0e35c0cd9db44c9007c69a541fafcde07bcda9e (diff)
downloadgdk-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--ChangeLog8
-rw-r--r--ChangeLog.pre-2-108
-rw-r--r--ChangeLog.pre-2-68
-rw-r--r--ChangeLog.pre-2-88
-rw-r--r--gtk/gtkspinbutton.c2
5 files changed, 29 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index e041a280f..690681f5c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);
}