scroller content type is not always widget.

This commit is contained in:
ChunEon Park 2014-03-22 14:40:48 +09:00
parent d6acf211cc
commit f28c0a5259
1 changed files with 2 additions and 1 deletions

View File

@ -477,7 +477,8 @@ _elm_scroller_smart_sub_object_del(Eo *obj, void *_pd, va_list *list)
if (sobj == sd->content)
{
elm_widget_on_show_region_hook_set(sd->content, NULL, NULL);
if (elm_widget_is(sobj))
elm_widget_on_show_region_hook_set(sd->content, NULL, NULL);
sd->content = NULL;
}