diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-09-01 05:11:46 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-09-01 05:11:46 +0000 |
commit | 94eec042676a8e18cebc9af8f27cd251355f4ba4 (patch) | |
tree | 51b9ff698258fc9799413f62fb82589c8d525f0e /gtk/gtkmenutoolbutton.c | |
parent | f4bbe8f0deb8d1c36829acfc791d632d27805f30 (diff) | |
download | gtk+-94eec042676a8e18cebc9af8f27cd251355f4ba4.tar.gz |
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().
Diffstat (limited to 'gtk/gtkmenutoolbutton.c')
-rw-r--r-- | gtk/gtkmenutoolbutton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkmenutoolbutton.c b/gtk/gtkmenutoolbutton.c index 84833e051a..d44f8bc50d 100644 --- a/gtk/gtkmenutoolbutton.c +++ b/gtk/gtkmenutoolbutton.c @@ -88,7 +88,7 @@ gtk_menu_tool_button_get_type (void) }; type = g_type_register_static (GTK_TYPE_TOOL_BUTTON, - g_intern_static_string ("GtkMenuToolButton"), + I_("GtkMenuToolButton"), &info, 0); } @@ -256,7 +256,7 @@ gtk_menu_tool_button_class_init (GtkMenuToolButtonClass *klass) toolitem_class->toolbar_reconfigured = gtk_menu_tool_button_toolbar_reconfigured; signals[SHOW_MENU] = - g_signal_new ("show-menu", + g_signal_new (I_("show-menu"), G_OBJECT_CLASS_TYPE (klass), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GtkMenuToolButtonClass, show_menu), |