summaryrefslogtreecommitdiff
path: root/gdk/win32
diff options
context:
space:
mode:
authorIgnacio Casal Quinteiro <icq@gnome.org>2016-04-11 22:22:37 +0200
committerIgnacio Casal Quinteiro <icq@gnome.org>2016-04-11 22:25:41 +0200
commita3bff7d41e8dd89bdec726a148207c58cf35db87 (patch)
tree7e1ed3d0f1d9c034efad42561227e0c439a26146 /gdk/win32
parentc9add3161f8fa3ea666189ac9e4de4c881ec676a (diff)
downloadgtk+-a3bff7d41e8dd89bdec726a148207c58cf35db87.tar.gz
win32: rollback change and use _gdk_display
This makes usage of _gdk_display again when creating a window. This is needed because there is a window created when the display is being initialized, so it becomes a chicken and egg problem. For now we roll back this to fix the wintab crash but we might want to fix this again in the future by improving the wintab initialization. https://bugzilla.gnome.org/show_bug.cgi?id=764664
Diffstat (limited to 'gdk/win32')
-rw-r--r--gdk/win32/gdkwindow-win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c
index 411462c845..3029e46ee3 100644
--- a/gdk/win32/gdkwindow-win32.c
+++ b/gdk/win32/gdkwindow-win32.c
@@ -704,7 +704,7 @@ _gdk_win32_display_create_window_impl (GdkDisplay *display,
/* check consistency of redundant information */
guint remaining_mask = attributes_mask;
- g_return_if_fail (display == gdk_display_get_default ());
+ g_return_if_fail (display == _gdk_display);
GDK_NOTE (MISC,
g_print ("_gdk_window_impl_new: %s %s\n",