summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--backends/xml-backend.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 402c2ab3..b897a1d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2009-02-15 Matthias Clasen <mclasen@redhat.com>
+ Bug 565312 – Use g_timeout_add_seconds
+
+ * backends/xml-backend.c: Trivial: Use g_timeout_add_seconds.
+ Patch by Paul Kishimoto.
+
+2009-02-15 Matthias Clasen <mclasen@redhat.com>
+
Bug 558490 – New policykit mechanism uses hard-coded gconf path
* gconf/default.path.in: Add the directory that is used by the
diff --git a/backends/xml-backend.c b/backends/xml-backend.c
index dab4c869..a327bd6d 100644
--- a/backends/xml-backend.c
+++ b/backends/xml-backend.c
@@ -854,7 +854,7 @@ xs_new (const gchar* root_dir, guint dir_mode, guint file_mode, GConfLock*
xs->cache = cache_get(xs->root_dir, dir_mode, file_mode);
- xs->timeout_id = g_timeout_add(1000*60*5, /* 1 sec * 60 s/min * 5 min */
+ xs->timeout_id = g_timeout_add_seconds(60*5, /* 1 sec * 60 s/min * 5 min */
cleanup_timeout,
xs);