mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-04 01:31:13 +00:00
quartz: Stop using gdk_screen_get_default
This api is going away.
This commit is contained in:
parent
e3daf986ca
commit
03ae29b7c5
@ -683,7 +683,7 @@ _gdk_quartz_window_did_resign_main (GdkWindow *window)
|
|||||||
{
|
{
|
||||||
GList *toplevels;
|
GList *toplevels;
|
||||||
|
|
||||||
toplevels = gdk_screen_get_toplevel_windows (gdk_screen_get_default ());
|
toplevels = gdk_screen_get_toplevel_windows (_gdk_screen);
|
||||||
if (toplevels)
|
if (toplevels)
|
||||||
new_window = toplevels->data;
|
new_window = toplevels->data;
|
||||||
g_list_free (toplevels);
|
g_list_free (toplevels);
|
||||||
|
Loading…
Reference in New Issue
Block a user