Intern some more strings.

2005-09-01  Matthias Clasen  <mclasen@redhat.com>

        * 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().
This commit is contained in:
Matthias Clasen
2005-09-01 05:11:46 +00:00
committed by Matthias Clasen
parent f4bbe8f0de
commit 94eec04267
185 changed files with 798 additions and 698 deletions

View File

@ -50,6 +50,7 @@
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
#include <config.h>
#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);
}