summaryrefslogtreecommitdiff
path: root/src/caja-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-window.c')
-rw-r--r--src/caja-window.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/caja-window.c b/src/caja-window.c
index 10e71b35..ac22b6d8 100644
--- a/src/caja-window.c
+++ b/src/caja-window.c
@@ -133,20 +133,11 @@ caja_window_init (CajaWindow *window)
GtkWidget *menu;
GtkWidget *statusbar;
-#if GTK_CHECK_VERSION (3, 20, 0)
static const gchar css_custom[] =
"#caja-extra-view-widget {"
" background-color: " EXTRA_VIEW_WIDGETS_BACKGROUND ";"
"}";
-#else
- static const gchar css_custom[] =
- "#statusbar-no-border {"
- " -GtkStatusbar-shadow-type: none;"
- "}"
- "#caja-extra-view-widget {"
- " background-color: " EXTRA_VIEW_WIDGETS_BACKGROUND ";"
- "}";
-#endif
+
GError *error = NULL;
GtkCssProvider *provider = gtk_css_provider_new ();
gtk_css_provider_load_from_data (provider, css_custom, -1, &error);