From 7e5a1a488dffb82ee2c52472ed69f2c6c9b9ea55 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 26 Feb 2016 00:37:59 +0100 Subject: add css name EggToolbarEditor --- cut-n-paste/toolbar-editor/egg-toolbar-editor.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cut-n-paste') diff --git a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c index c15e7d3..921870e 100644 --- a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c +++ b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c @@ -273,6 +273,11 @@ egg_toolbar_editor_class_init (EggToolbarEditorClass *klass) G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_CONSTRUCT)); +#if GTK_CHECK_VERSION (3, 19, 0) + GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass); + gtk_widget_class_set_css_name (widget_class, "EggToolbarEditor"); +#endif + g_type_class_add_private (object_class, sizeof (EggToolbarEditorPrivate)); } -- cgit v1.2.1