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/gtkshortcutsshortcut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkshortcutsshortcut.c') diff --git a/gtk/gtkshortcutsshortcut.c b/gtk/gtkshortcutsshortcut.c index 7ad524117f..2477dd4aa8 100644 --- a/gtk/gtkshortcutsshortcut.c +++ b/gtk/gtkshortcutsshortcut.c @@ -712,7 +712,7 @@ gtk_shortcuts_shortcut_class_init (GtkShortcutsShortcutClass *klass) G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY); g_object_class_install_properties (object_class, LAST_PROP, properties); - gtk_widget_class_set_css_name (widget_class, "shortcut"); + gtk_widget_class_set_css_name (widget_class, I_("shortcut")); } static void -- cgit v1.2.1