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/gtktreednd.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/gtktreednd.c')
-rw-r--r-- | gtk/gtktreednd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktreednd.c b/gtk/gtktreednd.c index f6f5380a28..2431c950a2 100644 --- a/gtk/gtktreednd.c +++ b/gtk/gtktreednd.c @@ -42,7 +42,7 @@ gtk_tree_drag_source_get_type (void) NULL }; - our_type = g_type_register_static (G_TYPE_INTERFACE, "GtkTreeDragSource", + our_type = g_type_register_static (G_TYPE_INTERFACE, g_intern_static_string ("GtkTreeDragSource"), &our_info, 0); } @@ -70,7 +70,7 @@ gtk_tree_drag_dest_get_type (void) NULL }; - our_type = g_type_register_static (G_TYPE_INTERFACE, "GtkTreeDragDest", &our_info, 0); + our_type = g_type_register_static (G_TYPE_INTERFACE, g_intern_static_string ("GtkTreeDragDest"), &our_info, 0); } return our_type; |