Stop calling _gdk_screen_close

It does nothing useful, and is going away.
This commit is contained in:
Matthias Clasen 2017-11-17 09:55:45 -05:00
parent a5e1276924
commit abb1d59d4e
2 changed files with 0 additions and 4 deletions

View File

@ -801,8 +801,6 @@ 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);

View File

@ -2033,8 +2033,6 @@ gdk_x11_display_dispose (GObject *object)
{
GdkX11Display *display_x11 = GDK_X11_DISPLAY (object);
_gdk_screen_close (display_x11->screen);
if (display_x11->event_source)
{
g_source_destroy (display_x11->event_source);