mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
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;
|
||||
}
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user