summaryrefslogtreecommitdiff
path: root/gnome-settings-daemon/main.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2010-10-13 19:06:58 +0100
committerBastien Nocera <hadess@hadess.net>2010-10-13 19:06:58 +0100
commit61c8ca9ad8add09830e72d0c10b97f59e80dd0f5 (patch)
treeeab193abb2d08303af20d1356170d7fe19608e20 /gnome-settings-daemon/main.c
parent2708b49a6a80a68bf144401b7e8aa01808836d47 (diff)
downloadgnome-settings-daemon-61c8ca9ad8add09830e72d0c10b97f59e80dd0f5.tar.gz
daemon: Use g_timeout_add_seconds
Rather than g_timeout_add() as we're looking for 1/2 minute timeouts here. https://bugzilla.gnome.org/show_bug.cgi?id=582703
Diffstat (limited to 'gnome-settings-daemon/main.c')
-rw-r--r--gnome-settings-daemon/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnome-settings-daemon/main.c b/gnome-settings-daemon/main.c
index 9c7970e5..26d39ba5 100644
--- a/gnome-settings-daemon/main.c
+++ b/gnome-settings-daemon/main.c
@@ -400,7 +400,7 @@ main (int argc, char *argv[])
}
if (do_timed_exit) {
- g_timeout_add (1000 * 30, (GSourceFunc) timed_exit_cb, NULL);
+ g_timeout_add_seconds (30, (GSourceFunc) timed_exit_cb, NULL);
}
gtk_main ();