diff options
author | Florian Müllner <fmuellner@gnome.org> | 2011-05-24 19:46:50 +0200 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2012-01-12 17:09:37 +0100 |
commit | aa7c16103ad0d1199790e4e5fdae97af020e5260 (patch) | |
tree | c1e592395a087ee28c57c352aeb19e6f821581f3 /src/wm-tester | |
parent | 03d4c13ab32ca42d1226e6f314dbbfe810d46122 (diff) | |
download | metacity-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.c | 10 |
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; |