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/gtklistbox.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/gtklistbox.c')
-rw-r--r-- | gtk/gtklistbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c index 9acc954254..103371c31c 100644 --- a/gtk/gtklistbox.c +++ b/gtk/gtklistbox.c @@ -572,7 +572,7 @@ gtk_list_box_class_init (GtkListBoxClass *klass) gtk_binding_entry_add_signal (binding_set, GDK_KEY_a, GDK_CONTROL_MASK | GDK_SHIFT_MASK, "unselect-all", 0); - gtk_widget_class_set_css_name (widget_class, "list"); + gtk_widget_class_set_css_name (widget_class, I_("list")); } static void @@ -3362,7 +3362,7 @@ gtk_list_box_row_class_init (GtkListBoxRowClass *klass) g_object_class_install_properties (object_class, LAST_ROW_PROPERTY, row_properties); - gtk_widget_class_set_css_name (widget_class, "row"); + gtk_widget_class_set_css_name (widget_class, I_("row")); } static void |