summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-07-05 19:19:18 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-07-05 19:43:06 +0900
commitaaec7d940fc28f0b07c6dc0670cbce75f7b9ba79 (patch)
tree65bf0bd8c8a7d19f8677d9aabc365d163ff33005
parent85a9bd54303dc0a221b0825b396cd5d62386ca15 (diff)
efl: Remove del_intercept before calling eo_del
In class destructor. Still not sure if we should do this or just set the pointer to NULL. Ping @TAsn
-rw-r--r--src/lib/evas/canvas/efl_event_key.c1
-rw-r--r--src/lib/evas/canvas/efl_event_pointer.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_event_key.c b/src/lib/evas/canvas/efl_event_key.c
index 78659f954f..421e557ecc 100644
--- a/src/lib/evas/canvas/efl_event_key.c
+++ b/src/lib/evas/canvas/efl_event_key.c
@@ -63,6 +63,7 @@ EOLIAN static void
63_efl_event_key_class_destructor(Eo_Class *klass EINA_UNUSED) 63_efl_event_key_class_destructor(Eo_Class *klass EINA_UNUSED)
64{ 64{
65 // this is a strange situation... 65 // this is a strange situation...
66 eo_del_intercept_set(s_cached_event, NULL);
66 eo_del(s_cached_event); 67 eo_del(s_cached_event);
67 s_cached_event = NULL; 68 s_cached_event = NULL;
68} 69}
diff --git a/src/lib/evas/canvas/efl_event_pointer.c b/src/lib/evas/canvas/efl_event_pointer.c
index d102c5c580..db1d6622a8 100644
--- a/src/lib/evas/canvas/efl_event_pointer.c
+++ b/src/lib/evas/canvas/efl_event_pointer.c
@@ -74,6 +74,7 @@ EOLIAN static void
74_efl_event_pointer_class_destructor(Eo_Class *klass EINA_UNUSED) 74_efl_event_pointer_class_destructor(Eo_Class *klass EINA_UNUSED)
75{ 75{
76 // this is a strange situation... 76 // this is a strange situation...
77 eo_del_intercept_set(s_cached_event, NULL);
77 eo_del(s_cached_event); 78 eo_del(s_cached_event);
78 s_cached_event = NULL; 79 s_cached_event = NULL;
79} 80}