]> spindle.queued.net Git - midori/commitdiff
maximum-history-age is integer, not boolean
authorChristian Dywan <christian@twotoasts.de>
Mon, 16 May 2011 01:20:59 +0000 (03:20 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 16 May 2011 01:20:59 +0000 (03:20 +0200)
midori/midori-browser.c

index ecdfc609d6696a4b06e8d671bbb5b763cdc914a6..5a356f17c650e8d67f4622886b3b833543dbfc5a 100644 (file)
@@ -6491,7 +6491,7 @@ midori_browser_settings_notify (MidoriWebSettings* web_settings,
         katze_assign (browser->location_entry_search, g_value_dup_string (&value));
     }
     else if (name == g_intern_string ("maximum-history-age"))
-        browser->maximum_history_age = g_value_get_boolean (&value);
+        browser->maximum_history_age = g_value_get_int (&value);
     else if (name == g_intern_string ("news-aggregator"))
     {
         katze_assign (browser->news_aggregator, g_value_dup_string (&value));