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:

committed by
Matthias Clasen

parent
f4bbe8f0de
commit
94eec04267
@ -19,6 +19,7 @@
|
||||
|
||||
#include <config.h>
|
||||
#include "gtkcelllayout.h"
|
||||
#include "gtkintl.h"
|
||||
#include "gtkalias.h"
|
||||
|
||||
GType
|
||||
@ -42,7 +43,7 @@ gtk_cell_layout_get_type (void)
|
||||
};
|
||||
|
||||
cell_layout_type =
|
||||
g_type_register_static (G_TYPE_INTERFACE, g_intern_static_string ("GtkCellLayout"),
|
||||
g_type_register_static (G_TYPE_INTERFACE, I_("GtkCellLayout"),
|
||||
&cell_layout_info, 0);
|
||||
|
||||
g_type_interface_add_prerequisite (cell_layout_type, G_TYPE_OBJECT);
|
||||
|
Reference in New Issue
Block a user