From: Christian Dywan Date: Sat, 15 Oct 2011 16:43:19 +0000 (+0200) Subject: Install form history always-load only if should_init X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85b1b8509aea707270a4abf345e696f0ec64e445;p=midori Install form history always-load only if should_init --- diff --git a/extensions/formhistory.c b/extensions/formhistory.c index 1686a852..b74e350a 100644 --- a/extensions/formhistory.c +++ b/extensions/formhistory.c @@ -590,12 +590,11 @@ extension_init (void) "authors", "Alexander V. Butenko ", NULL); - midori_extension_install_boolean (extension, "always-load", TRUE); - g_free (desc); if (should_init) { + midori_extension_install_boolean (extension, "always-load", TRUE); g_signal_connect (extension, "activate", G_CALLBACK (formhistory_activate_cb), NULL); g_signal_connect (extension, "open-preferences",