mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 09:46:08 -05:00
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:
parent
ee35540b6e
commit
fac482c442
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user