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:
95960ab
)
box: Tweak the depth sorting function
author
Emmanuele Bassi
<ebassi@linux.intel.com>
Tue, 23 Feb 2010 17:59:09 +0000
(17:59 +0000)
committer
Emmanuele Bassi
<ebassi@linux.intel.com>
Tue, 23 Feb 2010 17:59:09 +0000
(17:59 +0000)
By changing the depth sorting function we can achieve the same effect as
ClutterGroup but without the costly append+sort.
http://bugzilla.openedhand.com/show_bug.cgi?id=1988
clutter/clutter-box.c
patch
|
blob
|
history
diff --git
a/clutter/clutter-box.c
b/clutter/clutter-box.c
index
2667adb
..
9461aca
100644
(file)
--- a/
clutter/clutter-box.c
+++ b/
clutter/clutter-box.c
@@
-119,7
+119,7
@@
sort_by_depth (gconstpointer a,
if (depth_a < depth_b)
return -1;
- if (depth_a > depth_b)
+ if (depth_a >
=
depth_b)
return 1;
return 0;