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/gtkliststore.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/gtkliststore.c')
-rw-r--r-- | gtk/gtkliststore.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkliststore.c b/gtk/gtkliststore.c index 2e64b2e7bb..29d28fbc3b 100644 --- a/gtk/gtkliststore.c +++ b/gtk/gtkliststore.c @@ -25,6 +25,7 @@ #include "gtktreedatalist.h" #include "gtktreednd.h" #include "gtksequence.h" +#include "gtkintl.h" #include "gtkalias.h" #define GTK_LIST_STORE_IS_SORTED(list) (GTK_LIST_STORE (list)->sort_column_id != GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID) @@ -166,7 +167,7 @@ gtk_list_store_get_type (void) NULL }; - list_store_type = g_type_register_static (G_TYPE_OBJECT, g_intern_static_string ("GtkListStore"), + list_store_type = g_type_register_static (G_TYPE_OBJECT, I_("GtkListStore"), &list_store_info, 0); g_type_add_interface_static (list_store_type, |