[gtk+] Initialize impl_window for foreign W32 windows
- From: Руслан Ижбулатов <ruslanizhb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Initialize impl_window for foreign W32 windows
- Date: Mon, 8 Sep 2014 15:56:29 +0000 (UTC)
commit a8915b89d76c3dd39b828f781c7044e92f792a0d
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date: Mon Sep 8 15:21:00 2014 +0000
Initialize impl_window for foreign W32 windows
https://bugzilla.gnome.org/show_bug.cgi?id=736269
gdk/win32/gdkwindow-win32.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c
index d1652cf..09b7d37 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]