forked from enlightenment/efl
elementary/naviframe - remove del callback function before deleting the object.
SVN revision: 84269
This commit is contained in:
parent
21338a73a3
commit
b17a158181
|
@ -646,14 +646,11 @@ _title_content_set(Elm_Naviframe_Item *it,
|
||||||
if (pair)
|
if (pair)
|
||||||
{
|
{
|
||||||
if (pair->content == content) return;
|
if (pair->content == content) return;
|
||||||
if (content) elm_object_part_content_set(VIEW(it), part, content);
|
|
||||||
if (pair->content)
|
if (pair->content)
|
||||||
{
|
|
||||||
evas_object_event_callback_del(pair->content,
|
evas_object_event_callback_del(pair->content,
|
||||||
EVAS_CALLBACK_DEL,
|
EVAS_CALLBACK_DEL,
|
||||||
_title_content_del);
|
_title_content_del);
|
||||||
evas_object_del(pair->content);
|
if (content) elm_object_part_content_set(VIEW(it), part, content);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue