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/gtkimcontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkimcontext.c') diff --git a/gtk/gtkimcontext.c b/gtk/gtkimcontext.c index d00eff7c0..e8315b55a 100644 --- a/gtk/gtkimcontext.c +++ b/gtk/gtkimcontext.c @@ -75,7 +75,7 @@ gtk_im_context_get_type (void) }; im_context_type = - g_type_register_static (G_TYPE_OBJECT, "GtkIMContext", + g_type_register_static (G_TYPE_OBJECT, g_intern_static_string ("GtkIMContext"), &im_context_info, G_TYPE_FLAG_ABSTRACT); } -- cgit v1.2.1