Fix Gtk version check for speed dial, this is >= Gtk 2.14
This commit is contained in:
parent
8588c3b43f
commit
541d65f013
2 changed files with 5 additions and 1 deletions
|
@ -406,7 +406,7 @@ midori_browser_update_thumbnail (GtkWidget* view,
|
||||||
{
|
{
|
||||||
GtkWidget* child;
|
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)
|
if (midori_view_get_load_status (MIDORI_VIEW (view)) != MIDORI_LOAD_FINISHED)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
@ -588,7 +588,11 @@ midori_web_settings_class_init (MidoriWebSettingsClass* class)
|
||||||
_("Show speed dial in new tabs"),
|
_("Show speed dial in new tabs"),
|
||||||
_("Show speed dial in newly opened tabs"),
|
_("Show speed dial in newly opened tabs"),
|
||||||
TRUE,
|
TRUE,
|
||||||
|
#if GTK_CHECK_VERSION (2, 14, 0)
|
||||||
flags));
|
flags));
|
||||||
|
#else
|
||||||
|
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||||
|
#endif
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_DOWNLOAD_FOLDER,
|
PROP_DOWNLOAD_FOLDER,
|
||||||
|
|
Loading…
Reference in a new issue