Edje: Fix test case to show proper use of part APIs
authorJean-Philippe Andre <jp.andre@samsung.com>
Mon, 9 May 2016 05:37:22 +0000 (14:37 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Mon, 9 May 2016 05:42:47 +0000 (14:42 +0900)
commit5ba58353f006d54f096c371e9c773d24cf4263cc
tree915b6200b35bc00df1f37fb4022387855bb86e45
parent290b3d8926460a7731935dc554694e34a4edb540
Edje: Fix test case to show proper use of part APIs

The one and only valid use case is calling a function directly on
the part handle, like:
  func(part_get(obj, "part"), args).

This does not change the actual proxy object lifecycle or resolve
any potential issues, but this should clear up things in terms
of scope for proper (supported) use.

efl_content_get may become efl_part() and return a temporary object,
valid for a single function call. Those are "details" still to be
refined.
src/tests/edje/edje_test_edje.c