forked from enlightenment/efl
elementary/conform : wd->content is set as NULL in _sub_del function,
so can not be used anymore. SVN revision: 69716
This commit is contained in:
parent
e7f4dd3945
commit
12489b43df
|
@ -171,10 +171,10 @@ _content_unset_hook(Evas_Object *obj, const char *part)
|
||||||
if ((!wd) || (!wd->content)) return NULL;
|
if ((!wd) || (!wd->content)) return NULL;
|
||||||
content = wd->content;
|
content = wd->content;
|
||||||
elm_widget_sub_object_del(obj, wd->content);
|
elm_widget_sub_object_del(obj, wd->content);
|
||||||
evas_object_event_callback_del_full(wd->content,
|
evas_object_event_callback_del_full(content,
|
||||||
EVAS_CALLBACK_CHANGED_SIZE_HINTS,
|
EVAS_CALLBACK_CHANGED_SIZE_HINTS,
|
||||||
_changed_size_hints, obj);
|
_changed_size_hints, obj);
|
||||||
edje_object_part_unswallow(wd->base, wd->content);
|
edje_object_part_unswallow(wd->base, content);
|
||||||
wd->content = NULL;
|
wd->content = NULL;
|
||||||
return content;
|
return content;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue