forked from enlightenment/efl
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:
parent
02bb2eca06
commit
7454518f05
|
@ -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_new
|
||||||
* @see elm_box_transition_free
|
* @see elm_box_transition_free
|
||||||
|
* @see elm_box_layout_set
|
||||||
*
|
*
|
||||||
* @ingroup Box
|
* @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
|
EAPI void
|
||||||
elm_box_layout_transition(Evas_Object *obj, Evas_Object_Box_Data *priv, void *data)
|
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;
|
Elm_Box_Transition *box_data = data;
|
||||||
const double curtime = ecore_loop_time_get();
|
const double curtime = ecore_loop_time_get();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue