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/gtklist.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/gtklist.c')
-rw-r--r-- | gtk/gtklist.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk/gtklist.c b/gtk/gtklist.c index 1fb46a5bc3..a1b8be585f 100644 --- a/gtk/gtklist.c +++ b/gtk/gtklist.c @@ -35,6 +35,7 @@ #include "gtksignal.h" #include "gtklabel.h" #include "gtkmarshalers.h" +#include "gtkintl.h" #include "gtkalias.h" enum { @@ -194,7 +195,7 @@ gtk_list_get_type (void) (GtkClassInitFunc) NULL, }; - g_intern_static_string ("GtkList"); + I_("GtkList"); list_type = gtk_type_unique (GTK_TYPE_CONTAINER, &list_info); } @@ -246,14 +247,14 @@ gtk_list_class_init (GtkListClass *class) class->unselect_child = gtk_real_list_unselect_child; list_signals[SELECTION_CHANGED] = - gtk_signal_new ("selection_changed", + gtk_signal_new (I_("selection_changed"), GTK_RUN_FIRST, GTK_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (GtkListClass, selection_changed), _gtk_marshal_VOID__VOID, GTK_TYPE_NONE, 0); list_signals[SELECT_CHILD] = - gtk_signal_new ("select_child", + gtk_signal_new (I_("select_child"), GTK_RUN_FIRST, GTK_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (GtkListClass, select_child), @@ -261,7 +262,7 @@ gtk_list_class_init (GtkListClass *class) GTK_TYPE_NONE, 1, GTK_TYPE_WIDGET); list_signals[UNSELECT_CHILD] = - gtk_signal_new ("unselect_child", + gtk_signal_new (I_("unselect_child"), GTK_RUN_FIRST, GTK_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (GtkListClass, unselect_child), |