summaryrefslogtreecommitdiff
path: root/gtk/gtkshortcutsshortcut.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-11-17 22:49:57 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-11-17 22:49:57 -0500
commitffd6baec42b12cbbf5b1088e367ab6c8259ac5cb (patch)
treef04b911151e79eb428ac39494ae9601f9b5d5525 /gtk/gtkshortcutsshortcut.c
parent4dc4db56dc9a36a2daba90249f2f45256059c807 (diff)
downloadgtk+-ffd6baec42b12cbbf5b1088e367ab6c8259ac5cb.tar.gz
gtk: Intern css names
This avoids a bunch of strdups at startup.
Diffstat (limited to 'gtk/gtkshortcutsshortcut.c')
-rw-r--r--gtk/gtkshortcutsshortcut.c2
1 files changed, 1 insertions, 1 deletions
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