]> spindle.queued.net Git - midori/commitdiff
Fix Gtk version check for speed dial, this is >= Gtk 2.14
authorChristian Dywan <christian@twotoasts.de>
Mon, 11 May 2009 23:33:44 +0000 (01:33 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 11 May 2009 23:33:44 +0000 (01:33 +0200)
midori/midori-browser.c
midori/midori-websettings.c

index 892250f77a2589d381e045385868a588a67c7403..29d018b975c98d2105aa6610846ea1dc19f1f915 100644 (file)
@@ -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;
 
index 49c4304dfa6a567a15652a89b1411c26ed70f401..b2dffb0d6d6c2236431f747b19cb97a1688732f5 100644 (file)
@@ -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,