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:
Daniel Juyung Seo 2012-03-14 07:38:55 +00:00 committed by Daniel Juyung Seo
parent 08718ae177
commit b5f70c370a
1 changed files with 1 additions and 2 deletions

View File

@ -4408,8 +4408,6 @@ static void
_elm_genlist_clear(Evas_Object *obj, Eina_Bool standby)
{
Eina_Inlist *next, *l;
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
@ -4475,6 +4473,7 @@ _elm_genlist_clear(Evas_Object *obj, Eina_Bool standby)
EAPI void
elm_genlist_clear(Evas_Object *obj)
{
ELM_CHECK_WIDTYPE(obj, widtype);
_elm_genlist_clear(obj, EINA_FALSE);
}