mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-30 15:31:34 +00:00
Stop calling _gdk_screen_close
It does nothing useful, and is going away.
This commit is contained in:
parent
a5e1276924
commit
abb1d59d4e
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user