quartz: Stop using gdk_screen_get_default

This api is going away.
This commit is contained in:
Matthias Clasen 2017-11-01 18:14:27 -04:00
parent e3daf986ca
commit 03ae29b7c5

View File

@ -683,7 +683,7 @@ _gdk_quartz_window_did_resign_main (GdkWindow *window)
{
GList *toplevels;
toplevels = gdk_screen_get_toplevel_windows (gdk_screen_get_default ());
toplevels = gdk_screen_get_toplevel_windows (_gdk_screen);
if (toplevels)
new_window = toplevels->data;
g_list_free (toplevels);