From a218f22298cd15f5e94bd717189876d6bdfcfd1f Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 25 Feb 2016 23:51:42 +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 e4f6ee8d..9c28b349 100644 --- a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c +++ b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c @@ -265,6 +265,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