summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-05-04 13:00:53 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-05-24 16:02:18 -0700
commitfe14abd9294e74f0cbdb7ba6a74754e34519d46b (patch)
tree127da6c668598c6e839798f789db08656098be8d /src/lib/ecore_evas/ecore_evas.c
parentc447b617568a79119fa2c1a81ae6d8b01357238c (diff)
evas: refactor efl_input_event and remove some of the lifecycle hack.
Differential Revision: https://phab.enlightenment.org/D6101
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index fc0b830..da3401a 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -3511,7 +3511,7 @@ _ecore_evas_mouse_move_process_internal(Ecore_Evas *ee,
3511 3511
3512 efl_event_callback_legacy_call(ee->evas, 3512 efl_event_callback_legacy_call(ee->evas,
3513 _event_description_get(ev->action), evt); 3513 _event_description_get(ev->action), evt);
3514 efl_del(evt); 3514 efl_unref(evt);
3515} 3515}
3516 3516
3517EAPI void 3517EAPI void
@@ -4729,7 +4729,7 @@ _direct_mouse_move_cb(Ecore_Evas *ee, const Ecore_Event_Mouse_Move *info)
4729 4729
4730 efl_event_callback_legacy_call(e, _event_description_get(ev->action), evt); 4730 efl_event_callback_legacy_call(e, _event_description_get(ev->action), evt);
4731 processed = ev->evas_done; 4731 processed = ev->evas_done;
4732 efl_del(evt); 4732 efl_unref(evt);
4733 4733
4734 return processed; 4734 return processed;
4735} 4735}
@@ -4764,7 +4764,7 @@ _direct_mouse_wheel_cb(Ecore_Evas *ee, const Ecore_Event_Mouse_Wheel *info)
4764 4764
4765 efl_event_callback_legacy_call(e, _event_description_get(ev->action), evt); 4765 efl_event_callback_legacy_call(e, _event_description_get(ev->action), evt);
4766 processed = ev->evas_done; 4766 processed = ev->evas_done;
4767 efl_del(evt); 4767 efl_unref(evt);
4768 4768
4769 return processed; 4769 return processed;
4770} 4770}
@@ -4794,7 +4794,7 @@ _direct_mouse_inout(Ecore_Evas *ee, const Ecore_Event_Mouse_IO *info, Efl_Pointe
4794 4794
4795 efl_event_callback_legacy_call(e, _event_description_get(ev->action), evt); 4795 efl_event_callback_legacy_call(e, _event_description_get(ev->action), evt);
4796 processed = ev->evas_done; 4796 processed = ev->evas_done;
4797 efl_del(evt); 4797 efl_unref(evt);
4798 4798
4799 return processed; 4799 return processed;
4800} 4800}
@@ -4924,7 +4924,7 @@ _direct_axis_update_cb(Ecore_Evas *ee, const Ecore_Event_Axis_Update *info)
4924 4924
4925 efl_event_callback_legacy_call(e, _event_description_get(ev->action), evt); 4925 efl_event_callback_legacy_call(e, _event_description_get(ev->action), evt);
4926 processed = ev->evas_done; 4926 processed = ev->evas_done;
4927 efl_del(evt); 4927 efl_unref(evt);
4928 4928
4929 return processed; 4929 return processed;
4930} 4930}
@@ -4966,7 +4966,7 @@ _direct_key_updown_cb(Ecore_Evas *ee, const Ecore_Event_Key *info, Eina_Bool dow
4966 efl_event_callback_legacy_call(e, EFL_EVENT_KEY_UP, evt); 4966 efl_event_callback_legacy_call(e, EFL_EVENT_KEY_UP, evt);
4967 4967
4968 processed = ev->evas_done; 4968 processed = ev->evas_done;
4969 efl_del(evt); 4969 efl_unref(evt);
4970 4970
4971 return processed; 4971 return processed;
4972} 4972}