summaryrefslogtreecommitdiff
path: root/src/wm-tester/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wm-tester/main.c')
-rw-r--r--src/wm-tester/main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/wm-tester/main.c b/src/wm-tester/main.c
index d757270d..ae6db421 100644
--- a/src/wm-tester/main.c
+++ b/src/wm-tester/main.c
@@ -120,19 +120,11 @@ evil_timeout (gpointer data)
w = gtk_window_new (GTK_WINDOW_TOPLEVEL);
-#if GTK_CHECK_VERSION (3, 0, 0)
gtk_window_move (GTK_WINDOW (w),
g_random_int_range (0,
gdk_screen_width ()),
g_random_int_range (0,
gdk_screen_height ()));
-#else
- gtk_widget_set_uposition (w,
- g_random_int_range (0,
- gdk_screen_width ()),
- g_random_int_range (0,
- gdk_screen_height ()));
-#endif
parent = NULL;