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 <helen.fornazier@profusion.mobi>



SVN revision: 54461
This commit is contained in:
Iván Briano 2010-11-11 16:22:55 +00:00
parent 02bb2eca06
commit 7454518f05
1 changed files with 3 additions and 1 deletions

View File

@ -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();