diff options
Diffstat (limited to 'mate-panel/panel-separator.c')
-rw-r--r-- | mate-panel/panel-separator.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mate-panel/panel-separator.c b/mate-panel/panel-separator.c index 7583e199..ff0cac37 100644 --- a/mate-panel/panel-separator.c +++ b/mate-panel/panel-separator.c @@ -261,7 +261,11 @@ panel_separator_class_init (PanelSeparatorClass *klass) widget_class->size_allocate = panel_separator_size_allocate; widget_class->parent_set = panel_separator_parent_set; - g_type_class_add_private (klass, sizeof (PanelSeparatorPrivate)); +#if GTK_CHECK_VERSION (3, 19, 0) + gtk_widget_class_set_css_name (widget_class, "PanelSeparator"); +#endif + + g_type_class_add_private (klass, sizeof (PanelSeparator)); } static void |