forked from AuroraMiddleware/gtk
win32: close the screen when disposing the display
This commit is contained in:
parent
54ebe5d3c5
commit
aaed73671c
@ -628,6 +628,8 @@ gdk_win32_display_dispose (GObject *object)
|
||||
{
|
||||
GdkWin32Display *display_win32 = GDK_WIN32_DISPLAY (object);
|
||||
|
||||
_gdk_screen_close (display_win32->screen);
|
||||
|
||||
if (display_win32->hwnd != NULL)
|
||||
{
|
||||
DestroyWindow (display_win32->hwnd);
|
||||
|
Loading…
Reference in New Issue
Block a user