aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_layer.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-02-17 18:46:09 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-02-21 10:52:39 +0900
commit05cc5ab940caaf0612ac246c468fbb48144dbe02 (patch)
treeb67d08d2a5437eb58b1e40b52d4ba4449dbe4091 /src/lib/evas/canvas/evas_layer.c
parenteo: Make _eo_obj_pointer_done an inline function (diff)
downloadefl-05cc5ab940caaf0612ac246c468fbb48144dbe02.tar.gz
evas: Avoid useless calls to eo_data_scope_get
Use an internal variant of the function for evas when we already have the protected data pointer.
Diffstat (limited to 'src/lib/evas/canvas/evas_layer.c')
-rw-r--r--src/lib/evas/canvas/evas_layer.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/evas/canvas/evas_layer.c b/src/lib/evas/canvas/evas_layer.c
index 86496c47e7..11bbe033ac 100644
--- a/src/lib/evas/canvas/evas_layer.c
+++ b/src/lib/evas/canvas/evas_layer.c
@@ -216,15 +216,13 @@ evas_object_layer_set(Evas_Object *obj, short l)
}
EOLIAN void
-_efl_canvas_object_efl_gfx_stack_layer_set(Eo *eo_obj,
- Evas_Object_Protected_Data *obj,
- short l)
+_efl_canvas_object_efl_gfx_stack_layer_set(Eo *eo_obj, Evas_Object_Protected_Data *obj, short l)
{
Evas *eo_e;
if (obj->delete_me) return;
evas_object_async_block(obj);
- if (_evas_object_intercept_call(eo_obj, EVAS_OBJECT_INTERCEPT_CB_LAYER_SET, 1, l)) return;
+ if (_evas_object_intercept_call_evas(obj, EVAS_OBJECT_INTERCEPT_CB_LAYER_SET, 1, l)) return;
if (obj->smart.parent) return;
if (obj->cur->layer == l)
{