aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/edje/edje_util.c
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-11-30 19:27:04 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-11-30 19:27:04 +0900
commit2ddea7065f0bd60764ad7b7f8118463a14a37085 (patch)
treef5770d3bdd935ca42315802e8cb804d23b9baf75 /src/lib/edje/edje_util.c
parentelm tests: show nstate & slider_interval widgets in Efl.Ui scope (diff)
downloadefl-2ddea7065f0bd60764ad7b7f8118463a14a37085.tar.gz
Efl.Ui.Base: remove base_scale.get{} from interface.
base_scale for edje would be legacy now.
Diffstat (limited to '')
-rw-r--r--src/lib/edje/edje_util.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c
index fc47e43b13..06bc9ee1ba 100644
--- a/src/lib/edje/edje_util.c
+++ b/src/lib/edje/edje_util.c
@@ -395,17 +395,14 @@ _edje_object_efl_ui_base_scale_get(Eo *obj EINA_UNUSED, Edje *ed)
return TO_DOUBLE(ed->scale);
}
-EOLIAN double
-_edje_object_efl_ui_base_base_scale_get(Eo *obj EINA_UNUSED, Edje *ed)
-{
- if (!ed->file) return 1.0;
- return TO_DOUBLE(ed->file->base_scale);
-}
-
EAPI double
edje_object_base_scale_get(const Eo *obj)
{
- return efl_ui_base_scale_get(obj);
+ Edje *ed;
+
+ ed = _edje_fetch(obj);
+ if (!ed->file) return 1.0;
+ return TO_DOUBLE(ed->scale);
}
EOLIAN Eina_Bool