fix crash when adding an image to an engineless canvas
SVN revision: 72071
This commit is contained in:
parent
04f2f44d6a
commit
a82974536d
|
@ -800,3 +800,8 @@
|
|||
2012-06-12 ChunEon Park (Hermet)
|
||||
|
||||
* Removed empty evas_object_map_source_set/get APIs. Will Not be implemented.
|
||||
|
||||
2012-06-13 Mike Blumenkrantz
|
||||
|
||||
* Fix crash in evas_object_image_add() when called prior to setting an engine
|
||||
for the given canvas.
|
||||
|
|
|
@ -177,6 +177,7 @@ evas_object_image_add(Evas *e)
|
|||
MAGIC_CHECK(e, Evas, MAGIC_EVAS);
|
||||
return NULL;
|
||||
MAGIC_CHECK_END();
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(e->engine.func, NULL);
|
||||
obj = evas_object_new(e);
|
||||
evas_object_image_init(obj);
|
||||
evas_object_inject(obj, e);
|
||||
|
|
Loading…
Reference in New Issue