summaryrefslogtreecommitdiff
path: root/capplets/display/scrollarea.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-05-07 18:49:48 +0200
committerraveit65 <[email protected]>2018-05-07 20:08:12 +0200
commitd06a1d3b8abc4d42c745ef1a3782473e3150ea9f (patch)
tree360abcb01780f35c4771999a7f1a5cabccdd1849 /capplets/display/scrollarea.c
parent954bf5889930cb92a2bb0b9e930984a619ef58b8 (diff)
downloadmate-control-center-d06a1d3b8abc4d42c745ef1a3782473e3150ea9f.tar.bz2
mate-control-center-d06a1d3b8abc4d42c745ef1a3782473e3150ea9f.tar.xz
display-capplet: add css name for scrollarea
This makes it possible to fix visual glitches in themes
Diffstat (limited to 'capplets/display/scrollarea.c')
-rw-r--r--capplets/display/scrollarea.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/capplets/display/scrollarea.c b/capplets/display/scrollarea.c
index 0bd8cca3..89bf6b39 100644
--- a/capplets/display/scrollarea.c
+++ b/capplets/display/scrollarea.c
@@ -250,6 +250,8 @@ foo_scroll_area_class_init (FooScrollAreaClass *class)
widget_class->map = foo_scroll_area_map;
widget_class->unmap = foo_scroll_area_unmap;
+ gtk_widget_class_set_css_name (widget_class, "foo-scroll-area");
+
parent_class = g_type_class_peek_parent (class);
/* Scrollable interface properties */