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/gtkimcontextsimple.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk/gtkimcontextsimple.c') diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c index 05c5841287..26f0d4dd18 100644 --- a/gtk/gtkimcontextsimple.c +++ b/gtk/gtkimcontextsimple.c @@ -23,6 +23,7 @@ #include #include "gtkaccelgroup.h" #include "gtkimcontextsimple.h" +#include "gtkintl.h" #include "gtkalias.h" typedef struct _GtkComposeTable GtkComposeTable; @@ -962,7 +963,7 @@ gtk_im_context_simple_get_type (void) }; im_context_simple_type = - g_type_register_static (GTK_TYPE_IM_CONTEXT, g_intern_static_string ("GtkIMContextSimple"), + g_type_register_static (GTK_TYPE_IM_CONTEXT, I_("GtkIMContextSimple"), &im_context_simple_info, 0); } -- cgit v1.2.1