summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/efl_loop_fd.c6
-rw-r--r--src/lib/ecore/efl_loop_fd.eo2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ecore/efl_loop_fd.c b/src/lib/ecore/efl_loop_fd.c
index 8e4871d7c2..ab4e184dac 100644
--- a/src/lib/ecore/efl_loop_fd.c
+++ b/src/lib/ecore/efl_loop_fd.c
@@ -200,11 +200,11 @@ _efl_loop_fd_efl_object_parent_set(Eo *obj, Efl_Loop_Fd_Data *pd, Efl_Object *pa
200} 200}
201 201
202static void 202static void
203_efl_loop_fd_efl_object_destructor(Eo *obj, Efl_Loop_Fd_Data *pd) 203_efl_loop_fd_efl_object_invalidate(Eo *obj, Efl_Loop_Fd_Data *pd)
204{ 204{
205 efl_destructor(efl_super(obj, MY_CLASS));
206
207 ecore_main_fd_handler_del(pd->handler); 205 ecore_main_fd_handler_del(pd->handler);
206
207 efl_invalidate(efl_super(obj, MY_CLASS));
208} 208}
209 209
210#include "efl_loop_fd.eo.c" 210#include "efl_loop_fd.eo.c"
diff --git a/src/lib/ecore/efl_loop_fd.eo b/src/lib/ecore/efl_loop_fd.eo
index 45512b3b15..472bdaf211 100644
--- a/src/lib/ecore/efl_loop_fd.eo
+++ b/src/lib/ecore/efl_loop_fd.eo
@@ -40,7 +40,7 @@ class Efl.Loop_Fd (Efl.Loop_Consumer)
40 } 40 }
41 implements { 41 implements {
42 Efl.Object.constructor; 42 Efl.Object.constructor;
43 Efl.Object.destructor; 43 Efl.Object.invalidate;
44 Efl.Object.parent { set; } 44 Efl.Object.parent { set; }
45 } 45 }
46} 46}