font chooser: Add a CSS name

The CSS name for GtkFontChooserWidget is fontchooser.
This commit is contained in:
Matthias Clasen
2016-01-13 23:42:35 -05:00
parent c80adc33a4
commit d2e80a7993

View File

@ -70,6 +70,10 @@
* gtk_font_chooser_set_preview_text().
*
* Since: 3.2
*
* # CSS nodes
*
* GtkFontChooserWidget has a single CSS node with name fontchooser.
*/
@ -611,6 +615,8 @@ gtk_font_chooser_widget_class_init (GtkFontChooserWidgetClass *klass)
gtk_widget_class_bind_template_callback (widget_class, row_deleted_cb);
gtk_widget_class_bind_template_callback (widget_class, size_change_cb);
gtk_widget_class_bind_template_callback (widget_class, output_cb);
gtk_widget_class_set_css_name (widget_class, "fontchooser");
}
static void