summaryrefslogtreecommitdiff
path: root/src/wm-tester
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2011-05-24 19:46:50 +0200
committerFlorian Müllner <fmuellner@gnome.org>2012-01-12 17:09:37 +0100
commitaa7c16103ad0d1199790e4e5fdae97af020e5260 (patch)
treec1e592395a087ee28c57c352aeb19e6f821581f3 /src/wm-tester
parent03d4c13ab32ca42d1226e6f314dbbfe810d46122 (diff)
downloadmetacity-aa7c16103ad0d1199790e4e5fdae97af020e5260.tar.gz
Remove deprecated GTK+ symbols
Based on an original patch from Roberto Guido <bob4mail@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=572332
Diffstat (limited to 'src/wm-tester')
-rw-r--r--src/wm-tester/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wm-tester/main.c b/src/wm-tester/main.c
index e56d6606..d9b27b4d 100644
--- a/src/wm-tester/main.c
+++ b/src/wm-tester/main.c
@@ -120,11 +120,11 @@ evil_timeout (gpointer data)
w = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- gtk_widget_set_uposition (w,
- g_random_int_range (0,
- gdk_screen_width ()),
- g_random_int_range (0,
- gdk_screen_height ()));
+ gtk_window_move (GTK_WINDOW (w),
+ g_random_int_range (0,
+ gdk_screen_width ()),
+ g_random_int_range (0,
+ gdk_screen_height ()));
parent = NULL;