summaryrefslogtreecommitdiff
path: root/gdk/win32/gdkdisplaymanager-win32.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2013-05-02 15:36:41 +0200
committerBenjamin Otte <otte@redhat.com>2013-05-02 15:36:41 +0200
commit8762791e826d69b3adff4ecf8a9177efc5fc80d1 (patch)
treec8b6690c4b129eec55e2d25214e7355e9a2b9b76 /gdk/win32/gdkdisplaymanager-win32.c
parent7cecc8e524f9ac3825622e10f8a98f5e01ac4727 (diff)
downloadgtk+-8762791e826d69b3adff4ecf8a9177efc5fc80d1.tar.gz
win32: Call windowing init from display_class_init()
This follows the same reasoning as the X11 backend in commit 0122a9da8eab518652553aa4e777d5caf18a6163
Diffstat (limited to 'gdk/win32/gdkdisplaymanager-win32.c')
-rw-r--r--gdk/win32/gdkdisplaymanager-win32.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdk/win32/gdkdisplaymanager-win32.c b/gdk/win32/gdkdisplaymanager-win32.c
index 0e5f71168c..9d1e234ce5 100644
--- a/gdk/win32/gdkdisplaymanager-win32.c
+++ b/gdk/win32/gdkdisplaymanager-win32.c
@@ -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