aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/job.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/pcs/job.c')
-rw-r--r--calendar/pcs/job.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/pcs/job.c b/calendar/pcs/job.c
index deb62136f1..d97df6d883 100644
--- a/calendar/pcs/job.c
+++ b/calendar/pcs/job.c
@@ -39,7 +39,7 @@ static guint jobs_idle_id;
/* Runs a job and dequeues it */
-static gint
+static gboolean
run_job (gpointer data)
{
Job *job;
@@ -88,7 +88,7 @@ job_add (JobFunc func, gpointer data)
jobs_head = g_slist_append (NULL, job);
jobs_tail = jobs_head;
- jobs_idle_id = gtk_idle_add (run_job, NULL);
+ jobs_idle_id = g_idle_add (run_job, NULL);
} else {
g_assert (jobs_tail != NULL);
g_assert (jobs_idle_id != 0);