Init gdk in the same order as other backends

Patch by Andre Draszik, bug 609172
This commit is contained in:
Matthias Clasen 2010-02-23 13:07:23 -05:00
parent 7f483dbd7b
commit 28760d992b

View File

@ -110,7 +110,7 @@ GdkDisplay * gdk_display_open (const gchar *display_name)
_gdk_display->layer=layer;
_gdk_display->keyboard=keyboard;
_gdk_directfb_keyboard_init ();
_gdk_directfb_keyboard_init ();
_gdk_screen = g_object_new (GDK_TYPE_SCREEN, NULL);
@ -120,10 +120,10 @@ GdkDisplay * gdk_display_open (const gchar *display_name)
gdk_screen_set_default_colormap (_gdk_screen,
gdk_screen_get_system_colormap (_gdk_screen)); _gdk_windowing_image_init ();
_gdk_events_init ();
_gdk_input_init ();
_gdk_dnd_init ();
_gdk_events_init ();
layer->EnableCursor (layer, 1);
g_signal_emit_by_name (gdk_display_manager_get (),