The dark themes are there since GTK+ 3.0 in fact

The Since in the documentation is wrong.
This commit is contained in:
Christian Dywan 2011-12-17 11:06:11 +01:00
parent cd8cb17b9e
commit e2816612c5

View file

@ -2177,7 +2177,7 @@ main (int argc,
"strip-referer", TRUE, NULL); "strip-referer", TRUE, NULL);
midori_browser_set_action_visible (browser, "Tools", FALSE); midori_browser_set_action_visible (browser, "Tools", FALSE);
midori_browser_set_action_visible (browser, "ClearPrivateData", FALSE); midori_browser_set_action_visible (browser, "ClearPrivateData", FALSE);
#if GTK_CHECK_VERSION (2, 22, 0) #if GTK_CHECK_VERSION (3, 0, 0)
g_object_set (gtk_widget_get_settings (GTK_WIDGET (browser)), g_object_set (gtk_widget_get_settings (GTK_WIDGET (browser)),
"gtk-application-prefer-dark-theme", TRUE, "gtk-application-prefer-dark-theme", TRUE,
NULL); NULL);