From: Christian Dywan Date: Wed, 6 Oct 2010 16:31:19 +0000 (+0200) Subject: Use a power friendly second timeout for session saving X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f4827a38202f9c848877a177973bcb59d2f6112;p=midori Use a power friendly second timeout for session saving --- diff --git a/midori/main.c b/midori/main.c index 7638e078..8c9e9ecd 100644 --- a/midori/main.c +++ b/midori/main.c @@ -675,8 +675,8 @@ midori_browser_session_cb (MidoriBrowser* browser, if (!save_timeout) { g_object_ref (session); - save_timeout = g_timeout_add_full (G_PRIORITY_LOW, 5000, - (GSourceFunc)midori_session_save_timeout_cb, session, NULL); + save_timeout = g_timeout_add_seconds (5, + (GSourceFunc)midori_session_save_timeout_cb, session); } }