From 4dcdb716ca1f9952243865e23e4b00bc2e0e465c Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Fri, 19 Feb 2016 21:48:00 +0100 Subject: GTK+-3.20: add more css names - MatePanelAppletFrameDBus - PanelSeparator - PanelToplevel --- mate-panel/panel-separator.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mate-panel/panel-separator.c') 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 -- cgit v1.2.1