[Xfce4-commits] <xfce4-power-manager:master> Fix polkit data clean up timeout.
Ali Abdallah
noreply at xfce.org
Wed Feb 3 13:52:02 CET 2010
Updating branch refs/heads/master
to 1eb850ae435a284bbd891851286d90768346ef92 (commit)
from c933b8cfc97a09d788856f175592272da1d09c5d (commit)
commit 1eb850ae435a284bbd891851286d90768346ef92
Author: Ali Abdallah <aliov at xfce.org>
Date: Wed Feb 3 13:47:54 2010 +0100
Fix polkit data clean up timeout.
src/xfpm-polkit.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/xfpm-polkit.c b/src/xfpm-polkit.c
index cfe65aa..a14bf33 100644
--- a/src/xfpm-polkit.c
+++ b/src/xfpm-polkit.c
@@ -340,11 +340,10 @@ xfpm_polkit_init_data (XfpmPolkit *polkit)
g_str_equal,
g_free,
g_free);
-
- /*Clean these data after 2 minutes*/
+ /*Clean these data after 1 minute*/
polkit->priv->destroy_id =
- g_timeout_add_seconds (2, (GSourceFunc) xfpm_polkit_free_data, polkit);
+ g_timeout_add_seconds (60, (GSourceFunc) xfpm_polkit_free_data, polkit);
polkit->priv->subject_valid = TRUE;
}
More information about the Xfce4-commits
mailing list