From c09cc89317d222e54e98d4e2e9f2792de13897ec Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 31 Aug 2005 16:53:43 +0000 Subject: Intern type names in code generated by glib-mkenums, too. 2005-08-31 Matthias Clasen * gdk/Makefile.am: * gtk/Makefile.am: Intern type names in code generated by glib-mkenums, too. * gtk/*.c: * gdk/x11/*.c: * gdk/*.c: Intern type names before registering the type to avoid unnecessary copies. --- gtk/gtktreestore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtktreestore.c') diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c index 157c39a11..65516895d 100644 --- a/gtk/gtktreestore.c +++ b/gtk/gtktreestore.c @@ -185,7 +185,7 @@ gtk_tree_store_get_type (void) NULL }; - tree_store_type = g_type_register_static (G_TYPE_OBJECT, "GtkTreeStore", + tree_store_type = g_type_register_static (G_TYPE_OBJECT, g_intern_static_string ("GtkTreeStore"), &tree_store_info, 0); g_type_add_interface_static (tree_store_type, -- cgit v1.2.1