summaryrefslogtreecommitdiff
path: root/gdk/win32
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@gnome.org>2015-12-15 21:25:25 +0100
committerPaolo Borelli <pborelli@gnome.org>2015-12-17 17:18:02 +0100
commit8c355d8fe671b5158f45d66d2973d587fa1d8602 (patch)
treef0dcb59fe7f55d1b7cbe58aa2d2e8779f1b841e0 /gdk/win32
parent2e5616b27ea72947d9b61cf2be6d61d65a2d1df7 (diff)
downloadgtk+-8c355d8fe671b5158f45d66d2973d587fa1d8602.tar.gz
Win32: call dnd exit when finalizing the display
Since we init dnd when opening the display, call the corresponding exit function (which is unused at the moment) when finalizing the display.
Diffstat (limited to 'gdk/win32')
-rw-r--r--gdk/win32/gdkdisplay-win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/win32/gdkdisplay-win32.c b/gdk/win32/gdkdisplay-win32.c
index b9897c0240..c963b52b12 100644
--- a/gdk/win32/gdkdisplay-win32.c
+++ b/gdk/win32/gdkdisplay-win32.c
@@ -736,6 +736,7 @@ gdk_win32_display_finalize (GObject *object)
GdkWin32Display *display_win32 = GDK_WIN32_DISPLAY (object);
_gdk_win32_display_finalize_cursors (display_win32);
+ _gdk_win32_dnd_exit ();
G_OBJECT_CLASS (gdk_win32_display_parent_class)->finalize (object);
}