From e5ea67f7e94cc9dbb5806a1a1c3c5c8f0fbc2df3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Iv=C3=A1n=20Briano?= Date: Thu, 11 Nov 2010 16:22:55 +0000 Subject: [PATCH] elm_box.c: Fix in elm_box_layout_transition This function does not receive the Widget object in the parameter Evas_Object *obj, so it must not check its type with ELM_CHECK_WIDTYPE See "Box Transition" test in the elementary_test By: Helen Fornazier SVN revision: 54461 --- src/lib/elm_box.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_box.c b/src/lib/elm_box.c index af81a1b..770a684 100644 --- a/src/lib/elm_box.c +++ b/src/lib/elm_box.c @@ -678,13 +678,15 @@ elm_box_layout_set(Evas_Object *obj, Evas_Object_Box_Layout cb, const void *data * * @see elm_box_transition_new * @see elm_box_transition_free + * @see elm_box_layout_set * * @ingroup Box + * @warning Do not call this function directly because the @p obj is not the Widget Box + * from elm_box_add(), it is the internal Evas_Object of the Widget Box. */ EAPI void elm_box_layout_transition(Evas_Object *obj, Evas_Object_Box_Data *priv, void *data) { - ELM_CHECK_WIDTYPE(obj, widtype); Elm_Box_Transition *box_data = data; const double curtime = ecore_loop_time_get(); -- 2.7.4