summaryrefslogtreecommitdiff
path: root/tests/animated-resizing.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-01-03 18:35:30 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-01-03 22:29:50 -0500
commit5d9efb56753076507ad635d121c28c933aacd5a6 (patch)
treea91fbac23ca7e5c5231c7a0493ad9cb4749ef5a5 /tests/animated-resizing.c
parentdf58d0acf3efc666be5646c52fa4cac1ee374b0a (diff)
downloadgtk+-kill-primary-monitor.tar.gz
Remove primary monitorskill-primary-monitor
This is not a very successful concept, and Wayland does not have it at all, so lets just remove it. https://gitlab.gnome.org/GNOME/gtk/issues/982
Diffstat (limited to 'tests/animated-resizing.c')
-rw-r--r--tests/animated-resizing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/animated-resizing.c b/tests/animated-resizing.c
index 1984aace2d..0301820d92 100644
--- a/tests/animated-resizing.c
+++ b/tests/animated-resizing.c
@@ -201,7 +201,7 @@ main(int argc, char **argv)
on_frame (0.);
display = gtk_widget_get_display (window);
- monitor = gdk_display_get_primary_monitor (display);
+ monitor = gdk_display_get_monitor (display, 0);
gdk_monitor_get_geometry (monitor, &monitor_bounds);
gtk_widget_show (window);