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
@ -116,7 +116,7 @@ gtk_tool_button_get_type (void)
|
||||
};
|
||||
|
||||
type = g_type_register_static (GTK_TYPE_TOOL_ITEM,
|
||||
g_intern_static_string ("GtkToolButton"),
|
||||
I_("GtkToolButton"),
|
||||
&type_info, 0);
|
||||
}
|
||||
return type;
|
||||
@ -242,7 +242,7 @@ gtk_tool_button_class_init (GtkToolButtonClass *klass)
|
||||
* or activated with the keyboard.
|
||||
**/
|
||||
toolbutton_signals[CLICKED] =
|
||||
g_signal_new ("clicked",
|
||||
g_signal_new (I_("clicked"),
|
||||
G_OBJECT_CLASS_TYPE (klass),
|
||||
G_SIGNAL_RUN_FIRST,
|
||||
G_STRUCT_OFFSET (GtkToolButtonClass, clicked),
|
||||
|
||||
Reference in New Issue
Block a user