summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorРуслан Ижбулатов <lrn1986@gmail.com>2014-09-08 15:21:00 +0000
committerРуслан Ижбулатов <lrn1986@gmail.com>2014-09-08 15:50:32 +0000
commita8915b89d76c3dd39b828f781c7044e92f792a0d (patch)
treed2454237607ee43b26be45dda5feace370b349ff /gdk
parente4b89854a2cbb6b39c8405a47941427f7fcebc90 (diff)
downloadgtk+-a8915b89d76c3dd39b828f781c7044e92f792a0d.tar.gz
Initialize impl_window for foreign W32 windows
https://bugzilla.gnome.org/show_bug.cgi?id=736269
Diffstat (limited to 'gdk')
-rw-r--r--gdk/win32/gdkwindow-win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c
index d1652cfa34..09b7d374d9 100644
--- a/gdk/win32/gdkwindow-win32.c
+++ b/gdk/win32/gdkwindow-win32.c
@@ -705,6 +705,7 @@ gdk_win32_window_foreign_new_for_display (GdkDisplay *display,
window = _gdk_display_create_window (display);
window->visual = gdk_screen_get_system_visual (_gdk_screen);
window->impl = g_object_new (GDK_TYPE_WINDOW_IMPL_WIN32, NULL);
+ window->impl_window = window;
impl = GDK_WINDOW_IMPL_WIN32 (window->impl);
impl->wrapper = window;
parent = GetParent (anid);