diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-10-31 21:02:36 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-10-31 21:02:36 -0400 |
commit | 7568d17a1507de88cbaa6264bacf825c0ff60350 (patch) | |
tree | 8fd2ef3afe67cac3267329125a6902e5890b35f2 /gtk/gtktoolpalette.c | |
parent | cacc63ea4b887da72a07a938ab9a0cd59d8100e5 (diff) | |
download | gtk+-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.c | 6 |
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"); } /** |