summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_smart.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-11-08 19:29:13 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-08 20:02:31 +0900
commitcc1ed7183c9ccab57ffd010338e781744fa424ad (patch)
tree4c6210bf10cb45e012fa5cfe0fd1c1c6480db5a6 /src/lib/edje/edje_smart.c
parent2f838acd4ef0f3f914bb5d03081aef2fd1f412b5 (diff)
edje: Hide edje_global from the rest of the world
Call provider_find on the loop (or basically any object) with the color/text/size class interface instead, to find it. The main loop is the main holder of those objects. Note: This makes use of provider_find instead of direct access to the variable, in order to self-test the code. In theory release builds will not do this and user directly the variable.
Diffstat (limited to 'src/lib/edje/edje_smart.c')
-rw-r--r--src/lib/edje/edje_smart.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib/edje/edje_smart.c b/src/lib/edje/edje_smart.c
index fd1e247..733879c 100644
--- a/src/lib/edje/edje_smart.c
+++ b/src/lib/edje/edje_smart.c
@@ -536,15 +536,6 @@ _edje_object_efl_player_play_speed_get(Eo *obj EINA_UNUSED, Edje *pd)
536 return 1.0/pd->duration_scale; 536 return 1.0/pd->duration_scale;
537} 537}
538 538
539EOLIAN static Efl_Object *
540_edje_object_efl_object_provider_find(Eo *obj, Edje *ed EINA_UNUSED, const Efl_Class *klass)
541{
542 if (klass == EDJE_GLOBAL_CLASS)
543 return _edje_global_obj;
544
545 return efl_provider_find(efl_super(obj, EDJE_OBJECT_CLASS), klass);
546}
547
548/* Internal EO APIs and hidden overrides */ 539/* Internal EO APIs and hidden overrides */
549 540
550#define EDJE_OBJECT_EXTRA_OPS \ 541#define EDJE_OBJECT_EXTRA_OPS \