summaryrefslogtreecommitdiff
path: root/gtk/gtkcalendar.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/gtkcalendar.c
parentd1f4899fc77c8fa20486d61d33f6be96fa557682 (diff)
downloadgdk-pixbuf-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/gtkcalendar.c')
-rw-r--r--gtk/gtkcalendar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c
index d838b3dfb..8fbfe84a0 100644
--- a/gtk/gtkcalendar.c
+++ b/gtk/gtkcalendar.c
@@ -2703,7 +2703,7 @@ calendar_timer (gpointer data)
{
private_data->need_timer = FALSE;
private_data->timer = g_timeout_add (CALENDAR_TIMER_DELAY,
- (GtkFunction) calendar_timer,
+ (GSourceFunc) calendar_timer,
(gpointer) calendar);
}
else