forked from AuroraMiddleware/gtk
Need to initialise private->impl here, too.
2008-07-07 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkwindow-win32.c (gdk_window_foreign_new_for_display): Need to initialise private->impl here, too. svn path=/trunk/; revision=20805
This commit is contained in:
parent
a51c43f5c6
commit
d698b1f6fd
@ -1,3 +1,9 @@
|
||||
2008-07-07 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c
|
||||
(gdk_window_foreign_new_for_display): Need to initialise
|
||||
private->impl here, too.
|
||||
|
||||
2008-07-07 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkfilesystem.c: include the two needed headers instead of
|
||||
|
@ -796,6 +796,7 @@ gdk_window_foreign_new_for_display (GdkDisplay *display,
|
||||
|
||||
window = g_object_new (GDK_TYPE_WINDOW, NULL);
|
||||
private = (GdkWindowObject *)window;
|
||||
private->impl = g_object_new (_gdk_window_impl_get_type (), NULL);
|
||||
impl = GDK_WINDOW_IMPL_WIN32 (private->impl);
|
||||
draw_impl = GDK_DRAWABLE_IMPL_WIN32 (private->impl);
|
||||
draw_impl->wrapper = GDK_DRAWABLE (window);
|
||||
|
Loading…
Reference in New Issue
Block a user