Evas object: verify the parent is valid and fail if not.
authorTom Hacohen <tom@stosb.com>
Mon, 13 Apr 2015 12:50:43 +0000 (13:50 +0100)
committerTom Hacohen <tom@stosb.com>
Mon, 13 Apr 2015 12:52:47 +0000 (13:52 +0100)
commit2da13de20aff0f3f849589440302c0f2ec0a0ddf
tree961126bf5f368c4e1660ad1b0f5120b722017909
parent0d4f4721ea1bc18a73b6647eb0eb24f3f09fa61d
Evas object: verify the parent is valid and fail if not.

It seems like before the switch to Eo, all the object_*_add functions
had magic checks that only allowed non NULL Evas pointers to be passed.
Since we switched to Eo we apparently missed the early failure we used
to have, and we instead fail later. This patch should fix that.

Thanks to jaehwan for reporting.

@fix
src/lib/evas/canvas/evas_object_main.c