From 79d805968fa9f6b53df18793019082dbc1938278 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 29 Apr 2017 10:06:42 +0200 Subject: Revert "add style class frame to scrolledwindows" This reverts commit e36440bd9a98f8e8b515bdef3d41e73638befb91. Found a better way to do that. --- src/fr-window.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/fr-window.c b/src/fr-window.c index cb42dca..4ae4e0e 100644 --- a/src/fr-window.c +++ b/src/fr-window.c @@ -5422,7 +5422,6 @@ fr_window_construct (FrWindow *window) { GtkWidget *menubar; GtkWidget *toolbar; - GtkStyleContext *context; GtkWidget *list_scrolled_window; GtkWidget *location_box; GtkStatusbar *statusbar; @@ -5702,8 +5701,6 @@ fr_window_construct (FrWindow *window) gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (list_scrolled_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); - context = gtk_widget_get_style_context (list_scrolled_window); - gtk_style_context_add_class (context, "frame"); gtk_container_add (GTK_CONTAINER (list_scrolled_window), window->priv->list_view); /* filter bar */ @@ -5780,8 +5777,6 @@ fr_window_construct (FrWindow *window) gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (tree_scrolled_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); - context = gtk_widget_get_style_context (tree_scrolled_window); - gtk_style_context_add_class (context, "frame"); gtk_container_add (GTK_CONTAINER (tree_scrolled_window), window->priv->tree_view); /* side pane */ -- cgit v1.2.1