[gtk+] win32: close the screen when disposing the display
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] win32: close the screen when disposing the display
- Date: Sun, 28 Feb 2016 14:54:03 +0000 (UTC)
commit aaed73671c2fa90490b875435ace29829379373d
Author: Paolo Borelli <pborelli gnome org>
Date: Sun Feb 28 15:33:28 2016 +0100
win32: close the screen when disposing the display
gdk/win32/gdkdisplay-win32.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/win32/gdkdisplay-win32.c b/gdk/win32/gdkdisplay-win32.c
index 26329d5..b4e8ff3 100644
--- a/gdk/win32/gdkdisplay-win32.c
+++ b/gdk/win32/gdkdisplay-win32.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]