projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c8f761
)
grid-layout: Insert new rows/columns at the appropriate position
author
Bastian Winkler
<buz@netbuz.org>
Tue, 12 Jun 2012 12:30:00 +0000
(14:30 +0200)
committer
Bastian Winkler
<buz@netbuz.org>
Tue, 12 Jun 2012 21:50:44 +0000
(23:50 +0200)
clutter/clutter-grid-layout.c
patch
|
blob
|
history
diff --git
a/clutter/clutter-grid-layout.c
b/clutter/clutter-grid-layout.c
index
c482af7
..
2ae6d96
100644
(file)
--- a/
clutter/clutter-grid-layout.c
+++ b/
clutter/clutter-grid-layout.c
@@
-370,6
+370,8
@@
clutter_grid_request_update_child_attach (ClutterGridRequest *request,
}
sibling = clutter_actor_get_previous_sibling (actor);
+ if (sibling)
+ clutter_grid_layout_insert_next_to (request->grid, sibling, side);
grid_attach_next_to (request->grid, actor, sibling, side,
CHILD_WIDTH (grid_child),
CHILD_HEIGHT (grid_child));