diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-08-31 16:53:43 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-08-31 16:53:43 +0000 |
commit | c09cc89317d222e54e98d4e2e9f2792de13897ec (patch) | |
tree | 8bcdfca4dea1360d040d0174af4c2c0ccc1e2fe6 /gtk/gtkfilechooserwidget.c | |
parent | f55cffb074cea973d53c338770af179cca1856ad (diff) | |
download | gtk+-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/gtkfilechooserwidget.c')
-rw-r--r-- | gtk/gtkfilechooserwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index 29a0a3a7e5..d6dd6696dc 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -87,7 +87,7 @@ gtk_file_chooser_widget_get_type (void) NULL /* interface_data */ }; - file_chooser_widget_type = g_type_register_static (GTK_TYPE_VBOX, "GtkFileChooserWidget", + file_chooser_widget_type = g_type_register_static (GTK_TYPE_VBOX, g_intern_static_string ("GtkFileChooserWidget"), &file_chooser_widget_info, 0); g_type_add_interface_static (file_chooser_widget_type, |