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/gtktreeselection.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/gtktreeselection.c')
-rw-r--r-- | gtk/gtktreeselection.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtktreeselection.c b/gtk/gtktreeselection.c index a269a1e0af..a004b6c4df 100644 --- a/gtk/gtktreeselection.c +++ b/gtk/gtktreeselection.c @@ -23,6 +23,7 @@ #include "gtktreeprivate.h" #include "gtkrbtree.h" #include "gtkmarshalers.h" +#include "gtkintl.h" #include "gtkalias.h" static void gtk_tree_selection_init (GtkTreeSelection *selection); @@ -66,7 +67,7 @@ gtk_tree_selection_get_type (void) }; selection_type = - g_type_register_static (G_TYPE_OBJECT, g_intern_static_string ("GtkTreeSelection"), + g_type_register_static (G_TYPE_OBJECT, I_("GtkTreeSelection"), &selection_info, 0); } @@ -85,7 +86,7 @@ gtk_tree_selection_class_init (GtkTreeSelectionClass *class) class->changed = NULL; tree_selection_signals[CHANGED] = - g_signal_new ("changed", + g_signal_new (I_("changed"), G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GtkTreeSelectionClass, changed), |