summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserembed.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-08-31 16:53:43 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-08-31 16:53:43 +0000
commitc09cc89317d222e54e98d4e2e9f2792de13897ec (patch)
tree8bcdfca4dea1360d040d0174af4c2c0ccc1e2fe6 /gtk/gtkfilechooserembed.c
parentf55cffb074cea973d53c338770af179cca1856ad (diff)
downloadgdk-pixbuf-c09cc89317d222e54e98d4e2e9f2792de13897ec.tar.gz
Intern type names in code generated by glib-mkenums, too.
2005-08-31 Matthias Clasen <mclasen@redhat.com> * 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.
Diffstat (limited to 'gtk/gtkfilechooserembed.c')
-rw-r--r--gtk/gtkfilechooserembed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilechooserembed.c b/gtk/gtkfilechooserembed.c
index 5c68f04ce..dc114905b 100644
--- a/gtk/gtkfilechooserembed.c
+++ b/gtk/gtkfilechooserembed.c
@@ -138,7 +138,7 @@ _gtk_file_chooser_embed_get_type (void)
};
file_chooser_embed_type = g_type_register_static (G_TYPE_INTERFACE,
- "GtkFileChooserEmbed",
+ g_intern_static_string ("GtkFileChooserEmbed"),
&file_chooser_embed_info, 0);
g_type_interface_add_prerequisite (file_chooser_embed_type, GTK_TYPE_WIDGET);