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/gtktextmark.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk/gtktextmark.c') diff --git a/gtk/gtktextmark.c b/gtk/gtktextmark.c index a6d7a04c6d..260cc44d1d 100644 --- a/gtk/gtktextmark.c +++ b/gtk/gtktextmark.c @@ -50,6 +50,7 @@ #define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API #include #include "gtktextbtree.h" +#include "gtkintl.h" #include "gtkalias.h" static void gtk_text_mark_init (GtkTextMark *mark); @@ -79,7 +80,7 @@ gtk_text_mark_get_type (void) (GInstanceInitFunc) gtk_text_mark_init, }; - object_type = g_type_register_static (G_TYPE_OBJECT, g_intern_static_string ("GtkTextMark"), + object_type = g_type_register_static (G_TYPE_OBJECT, I_("GtkTextMark"), &object_info, 0); } -- cgit v1.2.1