Stop using gtk_widget_set_uposition

Replace with non-deprecated gtk_window_move()

http://bugzilla.gnome.org/show_bug.cgi?id=587991
This commit is contained in:
Javier Jardón 2010-04-11 18:35:22 +02:00
parent ee35540b6e
commit fac482c442

View File

@ -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;