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:
eb40e85
)
layout: Use the get_request_mode() getter in BinLayout
author
Emmanuele Bassi
<ebassi@gnome.org>
Wed, 7 Oct 2009 14:29:47 +0000
(15:29 +0100)
committer
Emmanuele Bassi
<ebassi@linux.intel.com>
Wed, 14 Oct 2009 10:31:31 +0000
(11:31 +0100)
Instead of using g_object_get(child, "request-mode", ...).
clutter/clutter-bin-layout.c
patch
|
blob
|
history
diff --git
a/clutter/clutter-bin-layout.c
b/clutter/clutter-bin-layout.c
index
7c1c55f
..
61484ca
100644
(file)
--- a/
clutter/clutter-bin-layout.c
+++ b/
clutter/clutter-bin-layout.c
@@
-447,8
+447,7
@@
clutter_bin_layout_allocate (ClutterLayoutManager *manager,
continue;
}
- request = CLUTTER_REQUEST_HEIGHT_FOR_WIDTH;
- g_object_get (G_OBJECT (child), "request-mode", &request, NULL);
+ request = clutter_actor_get_request_mode (child);
if (request == CLUTTER_REQUEST_HEIGHT_FOR_WIDTH)
{
gfloat min_width, nat_width;