Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
2048
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
2048
Commits
89b2b171
Commit
89b2b171
authored
Sep 28, 2020
by
Arnaud B.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adapt to GridLayoutChild API.
parent
8643091e
Pipeline
#217016
passed with stage
in 3 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/game.vala
src/game.vala
+4
-4
No files found.
src/game.vala
View file @
89b2b171
...
@@ -429,10 +429,10 @@ private class Game : Gtk.Widget
...
@@ -429,10 +429,10 @@ private class Game : Gtk.Widget
assert_not_reached
();
assert_not_reached
();
Gtk
.
GridLayoutChild
rect_layout
=
(
Gtk
.
GridLayoutChild
)
layout
.
get_layout_child
((!)
nullable_tile
);
Gtk
.
GridLayoutChild
rect_layout
=
(
Gtk
.
GridLayoutChild
)
layout
.
get_layout_child
((!)
nullable_tile
);
tile_layout
.
set_
left_attach
(
to
.
col
);
tile_layout
.
set_
column
(
to
.
col
);
tile_layout
.
set_
top_attach
(
to
.
row
);
tile_layout
.
set_
row
(
to
.
row
);
rect_layout
.
set_
left_attach
(
from
.
col
);
rect_layout
.
set_
column
(
from
.
col
);
rect_layout
.
set_
top_attach
(
from
.
row
);
rect_layout
.
set_
row
(
from
.
row
);
_foreground_nxt
[
to
.
col
,
to
.
row
]
=
_foreground_cur
[
from
.
col
,
from
.
row
];
_foreground_nxt
[
to
.
col
,
to
.
row
]
=
_foreground_cur
[
from
.
col
,
from
.
row
];
_foreground_cur
[
from
.
col
,
from
.
row
]
=
null
;
_foreground_cur
[
from
.
col
,
from
.
row
]
=
null
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment