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/gtkradioaction.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/gtkradioaction.c') diff --git a/gtk/gtkradioaction.c b/gtk/gtkradioaction.c index 92c3173efc..b2f60b46c5 100644 --- a/gtk/gtkradioaction.c +++ b/gtk/gtkradioaction.c @@ -96,7 +96,7 @@ gtk_radio_action_get_type (void) }; type = g_type_register_static (GTK_TYPE_TOGGLE_ACTION, - g_intern_static_string ("GtkRadioAction"), + I_("GtkRadioAction"), &type_info, 0); } return type; @@ -171,7 +171,7 @@ gtk_radio_action_class_init (GtkRadioActionClass *klass) * Since: 2.4 */ radio_action_signals[CHANGED] = - g_signal_new ("changed", + g_signal_new (I_("changed"), G_OBJECT_CLASS_TYPE (klass), G_SIGNAL_RUN_FIRST | G_SIGNAL_NO_RECURSE, G_STRUCT_OFFSET (GtkRadioActionClass, changed), NULL, NULL, -- cgit v1.2.1