ecore: animator use eo_add() instead of eo_add_custom()
authorJérémy Zurcher <jeremy@asynk.ch>
Thu, 3 Jul 2014 20:33:15 +0000 (22:33 +0200)
committerJérémy Zurcher <jeremy@asynk.ch>
Thu, 3 Jul 2014 20:33:15 +0000 (22:33 +0200)
commitec4ffb86d6bc9a3d4e4e81b80359abd7bbdb8f22
tree7106b2575549a70b9aadf462f0e8f7e759c033e0
parent1ede3cc69f9c1181dcacb97480f255e47baa7ba7
ecore: animator use eo_add() instead of eo_add_custom()

Summary:
- use defauld constructor instead of custom one.
- we don't allow construction of an animator with a NULL callback function,
  this is checked in overriden eo_finalize.
- we don't support changing this callback once the object is created,
  such calls will call ERR() and return.

see 46a78e8c and f92e5d50 for eo_add_custom() -> eo_add() details

Reviewers: tasn

Reviewed By: tasn

CC: cedric
Differential Revision: https://phab.enlightenment.org/D1113
src/lib/ecore/ecore_anim.c
src/lib/ecore/ecore_animator.eo
src/tests/ecore/ecore_test_animator.c