]> spindle.queued.net Git - midori/commitdiff
Don't hardcode toolbar icon style on Windows
authorChristian Dywan <christian@twotoasts.de>
Thu, 24 Jun 2010 20:37:12 +0000 (22:37 +0200)
committerChristian Dywan <christian@twotoasts.de>
Thu, 24 Jun 2010 20:37:12 +0000 (22:37 +0200)
midori/midori-browser.c

index 75c5f31416699d1e9e09947fec29cbebecfcecc8..e42bd7c2774211fc766c31e6a44bfbc220d98a17 100644 (file)
@@ -6367,11 +6367,7 @@ _midori_browser_set_toolbar_style (MidoriBrowser*     browser,
     GtkSettings* gtk_settings = gtk_widget_get_settings (GTK_WIDGET (browser));
     g_object_get (gtk_settings, "gtk-toolbar-icon-size", &icon_size, NULL);
     if (toolbar_style == MIDORI_TOOLBAR_DEFAULT && gtk_settings)
-    #ifdef G_OS_WIN32
-        gtk_toolbar_style = GTK_TOOLBAR_ICONS;
-    #else
         g_object_get (gtk_settings, "gtk-toolbar-style", &gtk_toolbar_style, NULL);
-    #endif
     else
     {
         switch (toolbar_style)