path: root/src/lib/edje/edje_util.c
diff options
authorJean-Philippe Andre <jp.andre@samsung.com>2017-11-29 17:35:43 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-30 10:48:24 +0900
commit73e3a82bc2046f26de3c76e38c525fd1218df088 (patch)
tree241699b8b0d85b8959b50c137da3138282385b3f /src/lib/edje/edje_util.c
parentelm_code: If showing line numbers don't resize at 10 lines. (diff)
edje: Move perspective to legacy
Note: Edje.Perspective is not bound to EO, and this is the only reason why I'm moving this to legacy only. Marking as beta would mean the legacy APIs would not be generated, so that would have almost the same effect as moving to legacy. It would be nice to actually support this in EO, though this seems like a rarely used feature. Ref https://phab.enlightenment.org/T5315
Diffstat (limited to '')
1 files changed, 7 insertions, 4 deletions
diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c
index f1b00c7eb4..fc47e43b13 100644
--- a/src/lib/edje/edje_util.c
+++ b/src/lib/edje/edje_util.c
@@ -4920,9 +4920,10 @@ edje_evas_global_perspective_get(const Evas *e)
return evas_object_data_get(obj, "_edje_perspective");
-EOLIAN void
-_edje_object_perspective_set(Eo *obj, Edje *ed, Edje_Perspective *ps)
+EAPI void
+edje_object_perspective_set(Eo *obj, Edje_Perspective *ps)
+ Edje *ed = _edje_fetch(obj);
if (!ed) return;
if (ed->persp == ps) return;
if (ed->persp != ps)
@@ -4937,9 +4938,11 @@ _edje_object_perspective_set(Eo *obj, Edje *ed, Edje_Perspective *ps)
-EOLIAN const Edje_Perspective *
-_edje_object_perspective_get(Eo *obj EINA_UNUSED, Edje *ed)
+EAPI const Edje_Perspective *
+edje_object_perspective_get(const Eo *obj)
+ Edje *ed =_edje_fetch(obj);
+ if (!ed) return NULL;
return ed->persp;