forked from enlightenment/efl
don't report callbacks on NULL object.
From _del_pre_hook() we first delete pan_smart and then call elm_genlist_clear() to rip off children, however genlist_clear was always doing evas_object_smart_callback_call() on it. SVN revision: 52111
This commit is contained in:
parent
9c4eb78705
commit
9a2d660eb1
|
@ -2023,8 +2023,11 @@ elm_genlist_clear(Evas_Object *obj)
|
|||
wd->pan_y = 0;
|
||||
wd->minw = 0;
|
||||
wd->minh = 0;
|
||||
evas_object_size_hint_min_set(wd->pan_smart, wd->minw, wd->minh);
|
||||
evas_object_smart_callback_call(wd->pan_smart, "changed", NULL);
|
||||
if (wd->pan_smart)
|
||||
{
|
||||
evas_object_size_hint_min_set(wd->pan_smart, wd->minw, wd->minh);
|
||||
evas_object_smart_callback_call(wd->pan_smart, "changed", NULL);
|
||||
}
|
||||
_sizing_eval(obj);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue