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)
This commit is contained in:
Matthias Clasen
2003-12-17 22:23:32 +00:00
committed by Matthias Clasen
parent d1f4899fc7
commit 2a136e56b8
12 changed files with 60 additions and 11 deletions

View File

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