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
@ -26,6 +26,7 @@
|
||||
|
||||
#include <config.h>
|
||||
#include "gtkhbox.h"
|
||||
#include "gtkintl.h"
|
||||
#include "gtkalias.h"
|
||||
|
||||
|
||||
@ -57,7 +58,7 @@ gtk_hbox_get_type (void)
|
||||
(GInstanceInitFunc) gtk_hbox_init,
|
||||
};
|
||||
|
||||
hbox_type = g_type_register_static (GTK_TYPE_BOX, g_intern_static_string ("GtkHBox"),
|
||||
hbox_type = g_type_register_static (GTK_TYPE_BOX, I_("GtkHBox"),
|
||||
&hbox_info, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user