From 0876575a9549acd54fbc3c70b4e7178e9e4e1e65 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 7 Oct 2009 15:29:47 +0100 Subject: [PATCH] layout: Use the get_request_mode() getter in BinLayout Instead of using g_object_get(child, "request-mode", ...). --- clutter/clutter-bin-layout.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clutter/clutter-bin-layout.c b/clutter/clutter-bin-layout.c index 7c1c55ff1..61484caec 100644 --- 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;