summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-10-19 16:05:30 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-10-19 16:32:51 -0700
commit93c570b5ddcabb1b84c3cf7eacd3af2a96672053 (patch)
tree3746c6b5f33833a490cea24c91dcab269ea9e5a2 /src/lib/evas/canvas
parentdad34967dfc5d1a29bb1ffe1060039d8ee4f2ffe (diff)
evas: propagate object data to evas_object_inform_call_hide instead of fetching it again.
Diffstat (limited to '')
-rw-r--r--src/lib/evas/canvas/evas_object_inform.c3
-rw-r--r--src/lib/evas/canvas/evas_object_main.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/evas/canvas/evas_object_inform.c b/src/lib/evas/canvas/evas_object_inform.c
index 86a5f6cee0..cf180b14e0 100644
--- a/src/lib/evas/canvas/evas_object_inform.c
+++ b/src/lib/evas/canvas/evas_object_inform.c
@@ -14,9 +14,8 @@ evas_object_inform_call_show(Evas_Object *eo_obj, Evas_Object_Protected_Data *ob
14} 14}
15 15
16void 16void
17evas_object_inform_call_hide(Evas_Object *eo_obj) 17evas_object_inform_call_hide(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj)
18{ 18{
19 Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS);
20 int event_id = _evas_object_event_new(); 19 int event_id = _evas_object_event_new();
21 20
22 evas_object_event_callback_call(eo_obj, obj, EVAS_CALLBACK_HIDE, NULL, event_id, EFL_GFX_EVENT_HIDE); 21 evas_object_event_callback_call(eo_obj, obj, EVAS_CALLBACK_HIDE, NULL, event_id, EFL_GFX_EVENT_HIDE);
diff --git a/src/lib/evas/canvas/evas_object_main.c b/src/lib/evas/canvas/evas_object_main.c
index f4565ed7e3..323bc9041a 100644
--- a/src/lib/evas/canvas/evas_object_main.c
+++ b/src/lib/evas/canvas/evas_object_main.c
@@ -2077,7 +2077,7 @@ _hide(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj)
2077 */ 2077 */
2078 } 2078 }
2079 evas_object_update_bounding_box(eo_obj, obj, NULL); 2079 evas_object_update_bounding_box(eo_obj, obj, NULL);
2080 evas_object_inform_call_hide(eo_obj); 2080 evas_object_inform_call_hide(eo_obj, obj);
2081} 2081}
2082 2082
2083EOLIAN static void 2083EOLIAN static void