From d06a1d3b8abc4d42c745ef1a3782473e3150ea9f Mon Sep 17 00:00:00 2001 From: raveit65 Date: Mon, 7 May 2018 18:49:48 +0200 Subject: display-capplet: add css name for scrollarea This makes it possible to fix visual glitches in themes --- capplets/display/scrollarea.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'capplets') 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 */ -- cgit v1.2.1