Use a power friendly second timeout for session saving

This commit is contained in:
Christian Dywan 2010-10-06 18:31:19 +02:00
parent 392fa7fc85
commit 8f4827a382

View file

@ -675,8 +675,8 @@ midori_browser_session_cb (MidoriBrowser* browser,
if (!save_timeout) if (!save_timeout)
{ {
g_object_ref (session); g_object_ref (session);
save_timeout = g_timeout_add_full (G_PRIORITY_LOW, 5000, save_timeout = g_timeout_add_seconds (5,
(GSourceFunc)midori_session_save_timeout_cb, session, NULL); (GSourceFunc)midori_session_save_timeout_cb, session);
} }
} }