elm genlist: Check object magic in EAPI.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com> SVN revision: 69323
This commit is contained in:
parent
08718ae177
commit
b5f70c370a
|
@ -4408,8 +4408,6 @@ static void
|
||||||
_elm_genlist_clear(Evas_Object *obj, Eina_Bool standby)
|
_elm_genlist_clear(Evas_Object *obj, Eina_Bool standby)
|
||||||
{
|
{
|
||||||
Eina_Inlist *next, *l;
|
Eina_Inlist *next, *l;
|
||||||
|
|
||||||
ELM_CHECK_WIDTYPE(obj, widtype);
|
|
||||||
Widget_Data *wd = elm_widget_data_get(obj);
|
Widget_Data *wd = elm_widget_data_get(obj);
|
||||||
if (!wd) return;
|
if (!wd) return;
|
||||||
|
|
||||||
|
@ -4475,6 +4473,7 @@ _elm_genlist_clear(Evas_Object *obj, Eina_Bool standby)
|
||||||
EAPI void
|
EAPI void
|
||||||
elm_genlist_clear(Evas_Object *obj)
|
elm_genlist_clear(Evas_Object *obj)
|
||||||
{
|
{
|
||||||
|
ELM_CHECK_WIDTYPE(obj, widtype);
|
||||||
_elm_genlist_clear(obj, EINA_FALSE);
|
_elm_genlist_clear(obj, EINA_FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue