Fix eap editor segfault by checking to see that the tile exists before trying to remove it.
SVN revision: 19515
This commit is contained in:
parent
bba7ef3fba
commit
19690e4b2d
|
@ -293,10 +293,14 @@ e_icon_canvas_unpack(Evas_Object *obj)
|
|||
if(!obj) return;
|
||||
li = evas_object_data_get(obj, "e_icon_canvas_data");
|
||||
if (!li) return;
|
||||
|
||||
sd = li->sd;
|
||||
sd->items = evas_list_remove(sd->items, li);
|
||||
li->tile->items = evas_list_remove(li->tile->items, li);
|
||||
_e_icon_canvas_disown(obj);
|
||||
|
||||
if (!li->tile) return;
|
||||
if (!li->tile->items) return;
|
||||
li->tile->items = evas_list_remove(li->tile->items, li);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue