edje: Also implement content_get on external part
authorJean-Philippe Andre <jp.andre@samsung.com>
Mon, 29 May 2017 14:08:54 +0000 (23:08 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 30 May 2017 04:54:35 +0000 (13:54 +0900)
commitbac435a49e35908c1ffb6e184fbeb43ff6842731
tree6ee1fd40b519e19d540ad36e0b418e450c10f85f
parent8bf347b228b86577d58dd60c46dd15c0afbc8886
edje: Also implement content_get on external part

This implements edje_object_part_external_object_get() using
efl_content_get() on the part object. Note that there are now
two ways to call APIs on the external part:
 - direct call to the efl_part() as if it was the object itself
     (implemented by composition),
 - get a handle with efl_content_get(efl_part()) and manipulate
      it directly (it is the real object).

Do we need this? Do we need the composition trick? Should we have
only one of those solutions implemented?
src/lib/edje/edje_legacy.c
src/lib/edje/edje_part_external.c
src/lib/edje/efl_canvas_layout_external.eo