summaryrefslogtreecommitdiff
path: root/gtk/gtkfontsel.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/gtkfontsel.c
parentf55cffb074cea973d53c338770af179cca1856ad (diff)
downloadgtk+-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/gtkfontsel.c')
-rw-r--r--gtk/gtkfontsel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkfontsel.c b/gtk/gtkfontsel.c
index 6e58b220e4..1a752e72da 100644
--- a/gtk/gtkfontsel.c
+++ b/gtk/gtkfontsel.c
@@ -190,7 +190,7 @@ gtk_font_selection_get_type (void)
};
font_selection_type =
- g_type_register_static (GTK_TYPE_VBOX, "GtkFontSelection",
+ g_type_register_static (GTK_TYPE_VBOX, g_intern_static_string ("GtkFontSelection"),
&fontsel_type_info, 0);
}
@@ -1322,7 +1322,7 @@ gtk_font_selection_dialog_get_type (void)
};
font_selection_dialog_type =
- g_type_register_static (GTK_TYPE_DIALOG, "GtkFontSelectionDialog",
+ g_type_register_static (GTK_TYPE_DIALOG, g_intern_static_string ("GtkFontSelectionDialog"),
&fontsel_diag_info, 0);
}