From: Iván Briano Date: Thu, 11 Nov 2010 16:22:55 +0000 (+0000) Subject: elm_box.c: Fix in elm_box_layout_transition X-Git-Tag: v1.0.0~3783 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e5ea67f7e94cc9dbb5806a1a1c3c5c8f0fbc2df3;p=platform%2Fupstream%2Felementary.git 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 --- 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();