[gtk+] quartz: Drop another use of gdk_display_get_toplevel_windows
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] quartz: Drop another use of gdk_display_get_toplevel_windows
- Date: Sun, 5 Nov 2017 23:30:48 +0000 (UTC)
commit e980f68f5b9b0509b70ad95b02d775443fa93ae5
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Nov 5 18:30:03 2017 -0500
quartz: Drop another use of gdk_display_get_toplevel_windows
This one was forgotten in the previous commit.
gdk/quartz/gdkwindow-quartz.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index 5646b50..ad11cc1 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -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 &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]