[gtk+] quartz: Stop using gdk_screen_get_default
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] quartz: Stop using gdk_screen_get_default
- Date: Thu, 2 Nov 2017 00:48:49 +0000 (UTC)
commit 03ae29b7c5a5f288fd2845cb7a1af7d4459ad2d2
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Nov 1 18:14:27 2017 -0400
quartz: Stop using gdk_screen_get_default
This api is going away.
gdk/quartz/gdkwindow-quartz.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index 77113dc..2e266a7 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]