summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-04-29 10:06:42 +0200
committerraveit65 <[email protected]>2017-05-06 12:12:37 +0200
commit862f4ec50bb5d69374e0943c752bef8912cbcfc9 (patch)
tree72c1d7ca3485f2e3cf77aeecbbec4d39e8ea47d6
parent055370ede69705c72558f8509d0182a2861ddfb4 (diff)
downloadengrampa-862f4ec50bb5d69374e0943c752bef8912cbcfc9.tar.bz2
engrampa-862f4ec50bb5d69374e0943c752bef8912cbcfc9.tar.xz
Revert "add style class frame to scrolledwindows"
This reverts commit e36440bd9a98f8e8b515bdef3d41e73638befb91. Found a better way to do that.
-rw-r--r--src/fr-window.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/fr-window.c b/src/fr-window.c
index 23cc6a8..52a3d40 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -5420,7 +5420,6 @@ fr_window_construct (FrWindow *window)
{
GtkWidget *menubar;
GtkWidget *toolbar;
- GtkStyleContext *context;
GtkWidget *list_scrolled_window;
GtkWidget *location_box;
GtkStatusbar *statusbar;
@@ -5700,8 +5699,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 */
@@ -5778,8 +5775,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 */