Always save settings when quitting the browser

This commit is contained in:
Christian Dywan 2011-03-12 22:10:35 +01:00
parent d02b234626
commit 3d15c22b0b

View file

@ -2347,6 +2347,8 @@ main (int argc,
gtk_main ();
settings = katze_object_get_object (app, "settings");
settings_notify_cb (settings, NULL, app);
g_object_get (settings, "maximum-history-age", &max_history_age, NULL);
midori_history_terminate (history, max_history_age);
/* Removing KatzeHttpCookies makes it save outstanding changes */