From ffd6baec42b12cbbf5b1088e367ab6c8259ac5cb Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 17 Nov 2017 22:49:57 -0500 Subject: gtk: Intern css names This avoids a bunch of strdups at startup. --- gtk/gtkprogressbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkprogressbar.c') diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c index 3022032029..5383cdbc31 100644 --- a/gtk/gtkprogressbar.c +++ b/gtk/gtkprogressbar.c @@ -265,7 +265,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class) g_object_class_install_properties (gobject_class, NUM_PROPERTIES, progress_props); gtk_widget_class_set_accessible_type (widget_class, GTK_TYPE_PROGRESS_BAR_ACCESSIBLE); - gtk_widget_class_set_css_name (widget_class, "progressbar"); + gtk_widget_class_set_css_name (widget_class, I_("progressbar")); } static void -- cgit v1.2.1