layout: Use the get_request_mode() getter in BinLayout
Instead of using g_object_get(child, "request-mode", ...).
This commit is contained in:
parent
eb40e856e1
commit
0876575a95
@ -447,8 +447,7 @@ clutter_bin_layout_allocate (ClutterLayoutManager *manager,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
request = CLUTTER_REQUEST_HEIGHT_FOR_WIDTH;
|
request = clutter_actor_get_request_mode (child);
|
||||||
g_object_get (G_OBJECT (child), "request-mode", &request, NULL);
|
|
||||||
if (request == CLUTTER_REQUEST_HEIGHT_FOR_WIDTH)
|
if (request == CLUTTER_REQUEST_HEIGHT_FOR_WIDTH)
|
||||||
{
|
{
|
||||||
gfloat min_width, nat_width;
|
gfloat min_width, nat_width;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user