summaryrefslogtreecommitdiff
path: root/gtk/gtktextlayout.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-11-18 08:18:11 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-11-18 08:18:11 -0500
commita8531605db9c0564ff83fd869357ad5d910fb5b5 (patch)
treeb75440f399438f3a236a46f806ac6f32e1e90940 /gtk/gtktextlayout.c
parent997f0de4d501d4b674155a817350648fa3138430 (diff)
downloadgtk+-a8531605db9c0564ff83fd869357ad5d910fb5b5.tar.gz
Some more interning
This avoids more strdups at startup.
Diffstat (limited to 'gtk/gtktextlayout.c')
-rw-r--r--gtk/gtktextlayout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c
index 0d3ce085b3..69db15f970 100644
--- a/gtk/gtktextlayout.c
+++ b/gtk/gtktextlayout.c
@@ -1532,7 +1532,7 @@ gtk_text_attr_appearance_new (const GtkTextAppearance *appearance)
if (!klass.type)
klass.type = gtk_text_attr_appearance_type =
- pango_attr_type_register ("GtkTextAttrAppearance");
+ pango_attr_type_register (I_("GtkTextAttrAppearance"));
result = g_slice_new (GtkTextAttrAppearance);
result->attr.klass = &klass;