From 94eec042676a8e18cebc9af8f27cd251355f4ba4 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 1 Sep 2005 05:11:46 +0000 Subject: Intern some more strings. 2005-09-01 Matthias Clasen * gdk/*.c: Intern some more strings. * gtk/gtkintl.h: * gtk/*.c: Define an I_() macro and use it instead of the bulky g_intern_static_string(). --- gtk/gtktextchild.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gtk/gtktextchild.c') diff --git a/gtk/gtktextchild.c b/gtk/gtktextchild.c index 7f7c73d240..05a1a3c7e3 100644 --- a/gtk/gtktextchild.c +++ b/gtk/gtktextchild.c @@ -52,6 +52,7 @@ #include "gtktextchild.h" #include "gtktextbtree.h" #include "gtktextlayout.h" +#include "gtkintl.h" #include "gtkalias.h" #define CHECK_IN_BUFFER(anchor) \ @@ -299,7 +300,7 @@ _gtk_anchored_child_set_layout (GtkWidget *child, GtkTextLayout *layout) { g_object_set_data (G_OBJECT (child), - g_intern_static_string ("gtk-text-child-anchor-layout"), + I_("gtk-text-child-anchor-layout"), layout); } @@ -329,7 +330,7 @@ gtk_text_child_anchor_get_type (void) (GInstanceInitFunc) gtk_text_child_anchor_init, }; - object_type = g_type_register_static (G_TYPE_OBJECT, g_intern_static_string ("GtkTextChildAnchor"), + object_type = g_type_register_static (G_TYPE_OBJECT, I_("GtkTextChildAnchor"), &object_info, 0); } -- cgit v1.2.1