SVN revision: 46698
This commit is contained in:
Carsten Haitzler 2010-03-01 14:50:56 +00:00
parent b0b1fa40fa
commit f2f8e579b7
2 changed files with 2 additions and 0 deletions

View File

@ -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);

View File

@ -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;