forked from AuroraMiddleware/gtk
win32: Call windowing init from display_class_init()
This follows the same reasoning as the X11 backend in commit
0122a9da8e
This commit is contained in:
parent
7cecc8e524
commit
8762791e82
@ -688,4 +688,6 @@ gdk_win32_display_class_init (GdkWin32DisplayClass *klass)
|
||||
display_class->convert_selection = _gdk_win32_display_convert_selection;
|
||||
display_class->text_property_to_utf8_list = _gdk_win32_display_text_property_to_utf8_list;
|
||||
display_class->utf8_to_string_target = _gdk_win32_display_utf8_to_string_target;
|
||||
|
||||
_gdk_win32_windowing_init ();
|
||||
}
|
||||
|
@ -41,14 +41,6 @@ G_DEFINE_TYPE (GdkWin32DisplayManager, gdk_win32_display_manager, GDK_TYPE_DISPL
|
||||
static void
|
||||
gdk_win32_display_manager_init (GdkWin32DisplayManager *manager)
|
||||
{
|
||||
static once = TRUE;
|
||||
/* relies on displaymanager being a singleton , but our init functions
|
||||
* call gtk_diplay_maanger_get() again */
|
||||
if (once)
|
||||
{
|
||||
once = FALSE;
|
||||
_gdk_win32_windowing_init ();
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user