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:
committed by
Matthias Clasen
parent
d1f4899fc7
commit
2a136e56b8
@ -1711,7 +1711,7 @@ gtk_notebook_arrow_button_press (GtkNotebook *notebook,
|
||||
if (!notebook->timer)
|
||||
{
|
||||
notebook->timer = g_timeout_add (NOTEBOOK_INIT_SCROLL_DELAY,
|
||||
(GtkFunction) gtk_notebook_timer,
|
||||
(GSourceFunc) gtk_notebook_timer,
|
||||
(gpointer) notebook);
|
||||
notebook->need_timer = TRUE;
|
||||
}
|
||||
@ -2552,7 +2552,7 @@ gtk_notebook_timer (GtkNotebook *notebook)
|
||||
{
|
||||
notebook->need_timer = FALSE;
|
||||
notebook->timer = g_timeout_add (NOTEBOOK_SCROLL_DELAY,
|
||||
(GtkFunction) gtk_notebook_timer,
|
||||
(GSourceFunc) gtk_notebook_timer,
|
||||
(gpointer) notebook);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user