From 8f4827a38202f9c848877a177973bcb59d2f6112 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 6 Oct 2010 18:31:19 +0200 Subject: [PATCH] Use a power friendly second timeout for session saving --- midori/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } -- 2.39.5