summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-06-29 08:45:32 +0200
committerraveit65 <[email protected]>2017-06-29 08:45:32 +0200
commit550c7a87299d6cb93b2ca01639f51e0d47d4c403 (patch)
tree7da3890310a26e23401711407410611b8c512e3d
parent615db83f0024bbf491f97b0d9b03192d5a268a0c (diff)
downloadcaja-550c7a87299d6cb93b2ca01639f51e0d47d4c403.tar.bz2
caja-550c7a87299d6cb93b2ca01639f51e0d47d4c403.tar.xz
Revert "property-browser: add style class frame to scrolledwindows"
This reverts commit 52a3d30957889eb37e65e9c4416dbe0ea79a109c. Do it in a better way!
-rw-r--r--src/caja-property-browser.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/caja-property-browser.c b/src/caja-property-browser.c
index f89b4937..437e0bec 100644
--- a/src/caja-property-browser.c
+++ b/src/caja-property-browser.c
@@ -2172,7 +2172,6 @@ caja_property_browser_update_contents (CajaPropertyBrowser *property_browser)
gboolean got_categories;
char *name, *image, *type, *description, *display_name, *path, *mode;
const char *text;
- GtkStyleContext *context;
/* load the xml document corresponding to the path and selection */
document = read_browser_xml (property_browser);
@@ -2189,8 +2188,6 @@ caja_property_browser_update_contents (CajaPropertyBrowser *property_browser)
/* allocate a new container, with a scrollwindow and viewport */
property_browser->details->content_frame = gtk_scrolled_window_new (NULL, NULL);
- context = gtk_widget_get_style_context (GTK_WIDGET (property_browser->details->content_frame));
- gtk_style_context_add_class (context, "frame");
gtk_widget_set_vexpand (property_browser->details->content_frame, TRUE);
viewport = gtk_viewport_new (NULL, NULL);
gtk_widget_show(viewport);