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/gtkbin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkbin.c') diff --git a/gtk/gtkbin.c b/gtk/gtkbin.c index a6499b3a33..073c909566 100644 --- a/gtk/gtkbin.c +++ b/gtk/gtkbin.c @@ -66,7 +66,7 @@ gtk_bin_get_type (void) NULL, /* value_table */ }; - bin_type = g_type_register_static (GTK_TYPE_CONTAINER, "GtkBin", + bin_type = g_type_register_static (GTK_TYPE_CONTAINER, g_intern_static_string ("GtkBin"), &bin_info, G_TYPE_FLAG_ABSTRACT); } -- cgit v1.2.1