diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-08-31 15:14:26 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-08-31 15:14:26 +0000 |
commit | 476e138db0be2a4dc527eeeaeecaf744043529e4 (patch) | |
tree | e0d71e9f8c92ae8c9d9d3362861942640e736b39 /gdk/gdkdisplaymanager.c | |
parent | 0483aa634041435b9968dc8fd8aa45d79326d55b (diff) | |
download | gdk-pixbuf-476e138db0be2a4dc527eeeaeecaf744043529e4.tar.gz |
Intern type names before registering the type to avoid unnecessary copies.
2005-08-31 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_type):
* gdk/x11/gdkscreen-x11.c (_gdk_screen_x11_get_type):
* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_impl_x11_get_type):
* gdk/x11/gdkkeys-x11.c (gdk_keymap_x11_get_type):
* gdk/x11/gdkinput.c (gdk_device_get_type):
* gdk/x11/gdkimage-x11.c (gdk_image_get_type):
* gdk/x11/gdkgc-x11.c (_gdk_gc_x11_get_type):
* gdk/x11/gdkdrawable-x11.c (_gdk_drawable_impl_x11_get_type):
* gdk/x11/gdkdnd-x11.c (gdk_drag_context_get_type):
* gdk/x11/gdkdisplay-x11.c (_gdk_display_x11_get_type):
* gdk/x11/gdkcolor-x11.c (gdk_colormap_get_type):
* gdk/gdkwindow.c (gdk_window_object_get_type):
* gdk/gdkscreen.c (gdk_screen_get_type):
* gdk/gdkrectangle.c (gdk_rectangle_get_type):
* gdk/gdkpixmap.c (gdk_pixmap_get_type):
* gdk/gdkkeys.c (gdk_keymap_get_type):
* gdk/gdkfont.c (gdk_font_get_type):
* gdk/gdkevents.c (gdk_event_get_type):
* gdk/gdkdraw.c (gdk_drawable_get_type):
* gdk/gdkdisplaymanager.c (gdk_display_manager_get_type):
* gdk/gdkdisplay.c (gdk_display_get_type):
* gdk/gdkcursor.c (gdk_cursor_get_type):
* gdk/gdkcolor.c (gdk_color_get_type): Intern type names before
registering the type to avoid unnecessary copies.
Diffstat (limited to 'gdk/gdkdisplaymanager.c')
-rw-r--r-- | gdk/gdkdisplaymanager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkdisplaymanager.c b/gdk/gdkdisplaymanager.c index 157bcf42c..ca603624e 100644 --- a/gdk/gdkdisplaymanager.c +++ b/gdk/gdkdisplaymanager.c @@ -88,7 +88,7 @@ gdk_display_manager_get_type (void) }; object_type = g_type_register_static (G_TYPE_OBJECT, - "GdkDisplayManager", + g_intern_static_string ("GdkDisplayManager"), &object_info, 0); } |