From fac482c44265f5edd642b49957a8e5261179e338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Sun, 11 Apr 2010 18:35:22 +0200 Subject: [PATCH] Stop using gtk_widget_set_uposition Replace with non-deprecated gtk_window_move() http://bugzilla.gnome.org/show_bug.cgi?id=587991 --- src/wm-tester/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wm-tester/main.c b/src/wm-tester/main.c index e56d66062..b3eeb5a88 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;