forked from enlightenment/efl
parent
b0b1fa40fa
commit
f2f8e579b7
|
@ -418,6 +418,7 @@ evas_object_map_set(Evas_Object *obj, const Evas_Map *map)
|
|||
obj->cur.map = NULL;
|
||||
return;
|
||||
}
|
||||
_evas_map_free(obj->cur.map);
|
||||
obj->cur.map = NULL;
|
||||
if (!obj->cur.usemap) _evas_map_calc_geom_change(obj);
|
||||
else _evas_map_calc_map_geometry(obj);
|
||||
|
|
|
@ -54,6 +54,7 @@ evas_object_free(Evas_Object *obj, int clean_layer)
|
|||
{
|
||||
int was_smart_child = 0;
|
||||
|
||||
evas_object_map_set(obj, NULL);
|
||||
evas_object_grabs_cleanup(obj);
|
||||
evas_object_intercept_cleanup(obj);
|
||||
if (obj->smart.parent) was_smart_child = 1;
|
||||
|
|
Loading…
Reference in New Issue