obj->layer->evas->engine.func->image_map_surface_free
(obj->layer->evas->engine.data.output, m->surface);
}
+ m->magic = 0;
free(m);
}
MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
return;
MAGIC_CHECK_END();
+
enabled = !!enabled;
if (obj->cur.usemap == enabled) return;
obj->cur.usemap = enabled;
MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
return;
MAGIC_CHECK_END();
+
if (!map)
{
if (obj->cur.map)
return;
}
- if (obj->cur.map && obj->cur.map->count == map->count)
+ if ((obj->cur.map) && (obj->cur.map->count == map->count))
{
Evas_Map *omap = obj->cur.map;
obj->cur.map = _evas_map_new(map->count);
MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
return NULL;
MAGIC_CHECK_END();
- if (obj->cur.map) return obj->cur.map;
- return NULL;
+
+ return obj->cur.map;
}
EAPI Evas_Map *
ERR("map point count (%i) != 4 is unsupported!", count);
return NULL;
}
+
return _evas_map_new(count);
}