diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-01-30 21:01:24 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-01-30 21:33:37 +0100 |
commit | a46f9af1c0f321cbaafc0383bf50e4f6a1d47c94 (patch) | |
tree | a9b1f430e9e7c5f5f6c41dc827b2bf14b48f3555 /tests/animated-resizing.c | |
parent | 99c89d61e18d63f1141b8dfb423c3971f4b66c9a (diff) | |
download | gtk+-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.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); |