summaryrefslogtreecommitdiff
path: root/gtk/gtkspinbutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-12-17 22:23:32 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-12-17 22:23:32 +0000
commit2a136e56b8e0603a3bd26f426bbf252380db8367 (patch)
tree3778362488c5578ca219e9d45718dab07e1d74b9 /gtk/gtkspinbutton.c
parentd1f4899fc77c8fa20486d61d33f6be96fa557682 (diff)
downloadgtk+-2a136e56b8e0603a3bd26f426bbf252380db8367.tar.gz
Add missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE(). Cast second argument
Wed Dec 17 23:20:23 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtkexpander.c (gtk_expander_animation_timeout): Add missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE(). * gtk/gtkcalendar.c, gtk/gtkclist.c, gtk/gtkexpander.c, gtk/gtklist.c, gtk/gtknotebook.c, gtk/gtkselection.c, gtk/gtkspinbutton.c: Cast second argument to g_timeout_add() to GSourceFunc instead of GtkFunction. (#129525, Olexiy Avramchenko)
Diffstat (limited to 'gtk/gtkspinbutton.c')
-rw-r--r--gtk/gtkspinbutton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index cf4565ecf5..64b0df7bad 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -1039,7 +1039,7 @@ start_spinning (GtkSpinButton *spin,
spin->timer_step = step;
spin->need_timer = TRUE;
spin->timer = g_timeout_add (SPIN_BUTTON_INITIAL_TIMER_DELAY,
- (GtkFunction) gtk_spin_button_timer,
+ (GSourceFunc) gtk_spin_button_timer,
(gpointer) spin);
}
@@ -1190,7 +1190,7 @@ gtk_spin_button_timer (GtkSpinButton *spin_button)
{
spin_button->need_timer = FALSE;
spin_button->timer = g_timeout_add (SPIN_BUTTON_TIMER_DELAY,
- (GtkFunction) gtk_spin_button_timer,
+ (GSourceFunc) gtk_spin_button_timer,
(gpointer) spin_button);
}
else