[gnome-settings-daemon] daemon: Use g_timeout_add_seconds
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] daemon: Use g_timeout_add_seconds
- Date: Wed, 13 Oct 2010 18:08:18 +0000 (UTC)
commit 61c8ca9ad8add09830e72d0c10b97f59e80dd0f5
Author: Bastien Nocera <hadess hadess net>
Date: Wed Oct 13 19:06:58 2010 +0100
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
gnome-settings-daemon/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-settings-daemon/main.c b/gnome-settings-daemon/main.c
index 9c7970e..26d39ba 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 ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]