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:07:15 +0200
commit3d3bb8bb8db3f3e87abb6ba74718db9d9638c373 (patch)
treef454dacbef1577831b26ac431d29749d4d6afb99 /capplets/display/scrollarea.c
parent61e2e6e075d4e39e65b345ab3f71308673ba4b72 (diff)
downloadmate-control-center-3d3bb8bb8db3f3e87abb6ba74718db9d9638c373.tar.bz2
mate-control-center-3d3bb8bb8db3f3e87abb6ba74718db9d9638c373.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 */