aboutsummaryrefslogtreecommitdiffstats
path: root/shell/killev.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/killev.c')
-rw-r--r--shell/killev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/killev.c b/shell/killev.c
index 8cd773ef9d..ea4ad2a8ce 100644
--- a/shell/killev.c
+++ b/shell/killev.c
@@ -54,7 +54,7 @@ file_monitor_changed_cb (GFileMonitor *monitor,
}
static gboolean
-evolution_not_responding_cb (void)
+evolution_not_responding_cb (gpointer user_data)
{
g_print ("No response from Evolution -- killing the process\n");
@@ -149,8 +149,8 @@ main (gint argc,
monitor, "changed",
G_CALLBACK (file_monitor_changed_cb), NULL);
- g_timeout_add_seconds (
- EVOLUTION_SHUTDOWN_TIMEOUT, (GSourceFunc)
+ e_named_timeout_add_seconds (
+ EVOLUTION_SHUTDOWN_TIMEOUT,
evolution_not_responding_cb, NULL);
/* Start the clock. */