Use a power friendly second timeout for session saving
This commit is contained in:
parent
392fa7fc85
commit
8f4827a382
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue