diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-01-03 18:35:30 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-01-03 22:29:50 -0500 |
commit | 5d9efb56753076507ad635d121c28c933aacd5a6 (patch) | |
tree | a91fbac23ca7e5c5231c7a0493ad9cb4749ef5a5 /tests/animated-resizing.c | |
parent | df58d0acf3efc666be5646c52fa4cac1ee374b0a (diff) | |
download | gtk+-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.c | 2 |
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); |