Skip to content

Commit

Permalink
display-capplet: add css name for scrollarea
Browse files Browse the repository at this point in the history
This makes it possible to fix visual glitches in themes
  • Loading branch information
raveit65 committed May 7, 2018
1 parent 61e2e6e commit 3d3bb8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions capplets/display/scrollarea.c
Expand Up @@ -250,6 +250,8 @@ foo_scroll_area_class_init (FooScrollAreaClass *class)
widget_class->map = foo_scroll_area_map; widget_class->map = foo_scroll_area_map;
widget_class->unmap = foo_scroll_area_unmap; 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); parent_class = g_type_class_peek_parent (class);


/* Scrollable interface properties */ /* Scrollable interface properties */
Expand Down

0 comments on commit 3d3bb8b

Please sign in to comment.