summaryrefslogtreecommitdiff
path: root/tests/animated-resizing.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-01-30 21:01:24 +0100
committerMatthias Clasen <mclasen@redhat.com>2020-01-30 21:33:37 +0100
commita46f9af1c0f321cbaafc0383bf50e4f6a1d47c94 (patch)
treea9b1f430e9e7c5f5f6c41dc827b2bf14b48f3555 /tests/animated-resizing.c
parent99c89d61e18d63f1141b8dfb423c3971f4b66c9a (diff)
downloadgtk+-a46f9af1c0f321cbaafc0383bf50e4f6a1d47c94.tar.gz
Remove primary monitor api
We only have implementations of this on X11 and Win32, so make it available as backend api there. Update all callers to use either the backend api, or just monitor 0.
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);