summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Otte <otte.benjamin@googlemail.com>2020-05-17 16:57:52 +0000
committerBenjamin Otte <otte.benjamin@googlemail.com>2020-05-17 16:57:52 +0000
commitb353221185c53ea7a96b9e27ba45bfe90e1cdf87 (patch)
tree54c570aec3d89210e59b157efbb9337740aebe06 /tests
parent12854f1428dedd56da262c931f92e86b9ae9d00c (diff)
parent363c88cef7239064f90700e39b79a897a8c11c21 (diff)
downloadgtk+-b353221185c53ea7a96b9e27ba45bfe90e1cdf87.tar.gz
Merge branch 'wip/otte/monitors' into 'master'
various GDK cleanups See merge request GNOME/gtk!1920
Diffstat (limited to 'tests')
-rw-r--r--tests/animated-resizing.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/animated-resizing.c b/tests/animated-resizing.c
index b64559f439..9b5133a88d 100644
--- a/tests/animated-resizing.c
+++ b/tests/animated-resizing.c
@@ -176,9 +176,6 @@ main(int argc, char **argv)
{
GError *error = NULL;
GtkWidget *da;
- GdkDisplay *display;
- GdkMonitor *monitor;
- GdkRectangle monitor_bounds;
gboolean done = FALSE;
GOptionContext *context = g_option_context_new (NULL);
@@ -212,10 +209,6 @@ main(int argc, char **argv)
G_CALLBACK (on_map), NULL);
on_frame (0.);
- display = gtk_widget_get_display (window);
- monitor = gdk_display_get_monitor (display, 0);
- gdk_monitor_get_geometry (monitor, &monitor_bounds);
-
gtk_widget_show (window);
while (!done)