diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-10-30 02:04:54 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-10-30 03:22:35 +0800 |
commit | bc0d5d40ed39c92dcdf62ae891a2e99c25237d74 (patch) | |
tree | a07763eeaa20602bd4c0620b2fe67c443c52d29c /shell/killev.c | |
parent | d3e0f96c73dde49acde92f6347b9e362d85e94aa (diff) | |
download | gsoc2013-evolution-bc0d5d40ed39c92dcdf62ae891a2e99c25237d74.tar gsoc2013-evolution-bc0d5d40ed39c92dcdf62ae891a2e99c25237d74.tar.gz gsoc2013-evolution-bc0d5d40ed39c92dcdf62ae891a2e99c25237d74.tar.bz2 gsoc2013-evolution-bc0d5d40ed39c92dcdf62ae891a2e99c25237d74.tar.lz gsoc2013-evolution-bc0d5d40ed39c92dcdf62ae891a2e99c25237d74.tar.xz gsoc2013-evolution-bc0d5d40ed39c92dcdf62ae891a2e99c25237d74.tar.zst gsoc2013-evolution-bc0d5d40ed39c92dcdf62ae891a2e99c25237d74.zip |
Bug 710797 - Name all the timeouts added with g_timeout_add()
Diffstat (limited to 'shell/killev.c')
-rw-r--r-- | shell/killev.c | 6 |
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. */ |