summaryrefslogtreecommitdiff
path: root/gtk/gtktoolpalette.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-10-31 21:02:36 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-10-31 21:02:36 -0400
commit7568d17a1507de88cbaa6264bacf825c0ff60350 (patch)
tree8fd2ef3afe67cac3267329125a6902e5890b35f2 /gtk/gtktoolpalette.c
parentcacc63ea4b887da72a07a938ab9a0cd59d8100e5 (diff)
downloadgtk+-7568d17a1507de88cbaa6264bacf825c0ff60350.tar.gz
toolpalette: Use element names
Give the GtkToolPalette and GtkToolItemGroup the element names toolpalette and toolitemgroup.
Diffstat (limited to 'gtk/gtktoolpalette.c')
-rw-r--r--gtk/gtktoolpalette.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtktoolpalette.c b/gtk/gtktoolpalette.c
index 82e76375da..c51fb0b24c 100644
--- a/gtk/gtktoolpalette.c
+++ b/gtk/gtktoolpalette.c
@@ -109,6 +109,10 @@
* GDK_ACTION_COPY);
* ]|
*
+ * # CSS nodes
+ *
+ * GtkToolPalette has a single CSS node named toolpalette.
+ *
* Since: 2.20
*/
@@ -1024,6 +1028,8 @@ gtk_tool_palette_class_init (GtkToolPaletteClass *cls)
P_("Whether the item group should receive extra space when the palette grows"),
DEFAULT_CHILD_EXPAND,
GTK_PARAM_READWRITE));
+
+ gtk_widget_class_set_css_name (wclass, "toolpalette");
}
/**