Commit 89b2b171 authored by Arnaud B.'s avatar Arnaud B.

Adapt to GridLayoutChild API.

parent 8643091e
Pipeline #217016 passed with stage
in 3 minutes and 19 seconds
......@@ -429,10 +429,10 @@ private class Game : Gtk.Widget
assert_not_reached ();
Gtk.GridLayoutChild rect_layout = (Gtk.GridLayoutChild) layout.get_layout_child ((!) nullable_tile);
tile_layout.set_left_attach ( to.col);
tile_layout.set_top_attach ( to.row);
rect_layout.set_left_attach (from.col);
rect_layout.set_top_attach (from.row);
tile_layout.set_column ( to.col);
tile_layout.set_row ( to.row);
rect_layout.set_column (from.col);
rect_layout.set_row (from.row);
_foreground_nxt [ to.col, to.row] = _foreground_cur [from.col, from.row];
_foreground_cur [from.col, from.row] = null;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment