diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-11-17 22:49:57 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-11-17 22:49:57 -0500 |
commit | ffd6baec42b12cbbf5b1088e367ab6c8259ac5cb (patch) | |
tree | f04b911151e79eb428ac39494ae9601f9b5d5525 /gtk/gtkfontchooserwidget.c | |
parent | 4dc4db56dc9a36a2daba90249f2f45256059c807 (diff) | |
download | gtk+-ffd6baec42b12cbbf5b1088e367ab6c8259ac5cb.tar.gz |
gtk: Intern css names
This avoids a bunch of strdups at startup.
Diffstat (limited to 'gtk/gtkfontchooserwidget.c')
-rw-r--r-- | gtk/gtkfontchooserwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfontchooserwidget.c b/gtk/gtkfontchooserwidget.c index 2b209b7f6d..824e8ad6f3 100644 --- a/gtk/gtkfontchooserwidget.c +++ b/gtk/gtkfontchooserwidget.c @@ -679,7 +679,7 @@ gtk_font_chooser_widget_class_init (GtkFontChooserWidgetClass *klass) 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"); + gtk_widget_class_set_css_name (widget_class, I_("fontchooser")); } static void |