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:
WooHyun Jung 2012-03-29 06:00:06 +00:00
parent e7f4dd3945
commit 12489b43df
1 changed files with 2 additions and 2 deletions

View File

@ -171,10 +171,10 @@ _content_unset_hook(Evas_Object *obj, const char *part)
if ((!wd) || (!wd->content)) return NULL;
content = 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,
_changed_size_hints, obj);
edje_object_part_unswallow(wd->base, wd->content);
edje_object_part_unswallow(wd->base, content);
wd->content = NULL;
return content;
}