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

@ -23,6 +23,7 @@
#include <gdk/gdkkeysyms.h>
#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);
}