summaryrefslogtreecommitdiff
path: root/gtk/gtkseparatormenuitem.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/gtkseparatormenuitem.c
parent4dc4db56dc9a36a2daba90249f2f45256059c807 (diff)
downloadgtk+-ffd6baec42b12cbbf5b1088e367ab6c8259ac5cb.tar.gz
gtk: Intern css names
This avoids a bunch of strdups at startup.
Diffstat (limited to 'gtk/gtkseparatormenuitem.c')
-rw-r--r--gtk/gtkseparatormenuitem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkseparatormenuitem.c b/gtk/gtkseparatormenuitem.c
index 80941a1aa2..96a1faae72 100644
--- a/gtk/gtkseparatormenuitem.c
+++ b/gtk/gtkseparatormenuitem.c
@@ -25,6 +25,7 @@
#include "config.h"
#include "gtkseparatormenuitem.h"
+#include "gtkintl.h"
#include "gtkstylecontext.h"
@@ -50,7 +51,7 @@ gtk_separator_menu_item_class_init (GtkSeparatorMenuItemClass *class)
GTK_CONTAINER_CLASS (class)->child_type = NULL;
gtk_widget_class_set_accessible_role (GTK_WIDGET_CLASS (class), ATK_ROLE_SEPARATOR);
- gtk_widget_class_set_css_name (GTK_WIDGET_CLASS (class), "separator");
+ gtk_widget_class_set_css_name (GTK_WIDGET_CLASS (class), I_("separator"));
}
static void