From 910f4f72baa3b9b273fe9fd9e6523d40eb6d939f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 3 Nov 2015 23:19:28 -0500 Subject: [PATCH] stack: Set an element name And it is...stack. --- gtk/gtkstack.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c index 2460609bab..2f8b0f0dd0 100644 --- a/gtk/gtkstack.c +++ b/gtk/gtkstack.c @@ -46,6 +46,10 @@ * setting. * * The GtkStack widget was added in GTK+ 3.10. + * + * # CSS nodes + * + * GtkStack has a single CSS node named stack. */ /** @@ -522,6 +526,8 @@ gtk_stack_class_init (GtkStackClass *klass) GTK_PARAM_READWRITE); gtk_container_class_install_child_properties (container_class, LAST_CHILD_PROP, stack_child_props); + + gtk_widget_class_set_css_name (widget_class, "stack"); } /**