mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
quartz: Drop another use of gdk_display_get_toplevel_windows
This one was forgotten in the previous commit.
This commit is contained in:
parent
4f701c71f1
commit
e980f68f5b
@ -681,10 +681,9 @@ _gdk_quartz_window_did_resign_main (GdkWindow *window)
|
||||
{
|
||||
GList *toplevels;
|
||||
|
||||
toplevels = gdk_display_get_toplevel_windows (_gdk_display);
|
||||
toplevels = get_toplevels ();
|
||||
if (toplevels)
|
||||
new_window = toplevels->data;
|
||||
g_list_free (toplevels);
|
||||
}
|
||||
|
||||
if (new_window &&
|
||||
|
Loading…
Reference in New Issue
Block a user