summaryrefslogtreecommitdiff
path: root/gdk/quartz/gdkwindow-quartz.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-11-01 18:14:27 -0400
committerMatthias Clasen <mclasen@redhat.com>2017-11-01 19:44:28 -0400
commit03ae29b7c5a5f288fd2845cb7a1af7d4459ad2d2 (patch)
tree9b0cac909a45bd6dd68ac4f0235ce23a87372217 /gdk/quartz/gdkwindow-quartz.c
parente3daf986caff31c2a1a4e8780206b759518690c2 (diff)
downloadgtk+-03ae29b7c5a5f288fd2845cb7a1af7d4459ad2d2.tar.gz
quartz: Stop using gdk_screen_get_default
This api is going away.
Diffstat (limited to 'gdk/quartz/gdkwindow-quartz.c')
-rw-r--r--gdk/quartz/gdkwindow-quartz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index 77113dcc2f..2e266a79d9 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);