From 94eec042676a8e18cebc9af8f27cd251355f4ba4 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 1 Sep 2005 05:11:46 +0000 Subject: Intern some more strings. 2005-09-01 Matthias Clasen * 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(). --- gtk/gtkoptionmenu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/gtkoptionmenu.c') diff --git a/gtk/gtkoptionmenu.c b/gtk/gtkoptionmenu.c index f386434ac0..ffcf99c3d2 100644 --- a/gtk/gtkoptionmenu.c +++ b/gtk/gtkoptionmenu.c @@ -141,7 +141,7 @@ gtk_option_menu_get_type (void) }; option_menu_type = - g_type_register_static (GTK_TYPE_BUTTON, g_intern_static_string ("GtkOptionMenu"), + g_type_register_static (GTK_TYPE_BUTTON, I_("GtkOptionMenu"), &option_menu_info, 0); } @@ -166,7 +166,7 @@ gtk_option_menu_class_init (GtkOptionMenuClass *class) parent_class = g_type_class_peek_parent (class); signals[CHANGED] = - g_signal_new ("changed", + g_signal_new (I_("changed"), G_OBJECT_CLASS_TYPE (class), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GtkOptionMenuClass, changed), -- cgit v1.2.1