From: Christian Dywan Date: Mon, 11 May 2009 23:33:44 +0000 (+0200) Subject: Fix Gtk version check for speed dial, this is >= Gtk 2.14 X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=541d65f01308c62fd34ddeb0285bad8e2b1a87c8;p=midori Fix Gtk version check for speed dial, this is >= Gtk 2.14 --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 892250f7..29d018b9 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -406,7 +406,7 @@ midori_browser_update_thumbnail (GtkWidget* view, { GtkWidget* child; - #if GTK_CHECK_VERSION (2, 12, 0) + #if GTK_CHECK_VERSION (2, 14, 0) if (midori_view_get_load_status (MIDORI_VIEW (view)) != MIDORI_LOAD_FINISHED) return; diff --git a/midori/midori-websettings.c b/midori/midori-websettings.c index 49c4304d..b2dffb0d 100644 --- a/midori/midori-websettings.c +++ b/midori/midori-websettings.c @@ -588,7 +588,11 @@ midori_web_settings_class_init (MidoriWebSettingsClass* class) _("Show speed dial in new tabs"), _("Show speed dial in newly opened tabs"), TRUE, + #if GTK_CHECK_VERSION (2, 14, 0) flags)); + #else + G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); + #endif g_object_class_install_property (gobject_class, PROP_DOWNLOAD_FOLDER,