x11: Move initialization code

Move it from GdkDisplayManagerX11.init to GdkDisplay.class_init.

This shouldn't cause any problems, but who knows, so keep this patch
small.

Reason for this is the unification of display managers.
This commit is contained in:
Benjamin Otte 2013-05-01 18:11:26 +02:00
parent 2d35f7a8e1
commit 0122a9da8e
2 changed files with 2 additions and 1 deletions

View File

@ -2824,4 +2824,6 @@ gdk_x11_display_class_init (GdkX11DisplayClass * class)
display_class->convert_selection = _gdk_x11_display_convert_selection;
display_class->text_property_to_utf8_list = _gdk_x11_display_text_property_to_utf8_list;
display_class->utf8_to_string_target = _gdk_x11_display_utf8_to_string_target;
_gdk_x11_windowing_init ();
}

View File

@ -75,7 +75,6 @@ g_initable_iface_init (GInitableIface *iface)
static void
gdk_x11_display_manager_init (GdkX11DisplayManager *manager)
{
_gdk_x11_windowing_init ();
}
static void