mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 09:59:03 +00: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);
|
w = gtk_window_new (GTK_WINDOW_TOPLEVEL);
|
||||||
|
|
||||||
gtk_widget_set_uposition (w,
|
gtk_window_move (GTK_WINDOW (w)
|
||||||
g_random_int_range (0,
|
g_random_int_range (0,
|
||||||
gdk_screen_width ()),
|
gdk_screen_width ()),
|
||||||
g_random_int_range (0,
|
g_random_int_range (0,
|
||||||
gdk_screen_height ()));
|
gdk_screen_height ()));
|
||||||
|
|
||||||
parent = NULL;
|
parent = NULL;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user