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)
downloadefl-aaec7d940fc28f0b07c6dc0670cbce75f7b9ba79.tar.gz
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
_efl_event_key_class_destructor(Eo_Class *klass EINA_UNUSED)
{
// this is a strange situation...
+ eo_del_intercept_set(s_cached_event, NULL);
eo_del(s_cached_event);
s_cached_event = NULL;
}
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
_efl_event_pointer_class_destructor(Eo_Class *klass EINA_UNUSED)
{
// this is a strange situation...
+ eo_del_intercept_set(s_cached_event, NULL);
eo_del(s_cached_event);
s_cached_event = NULL;
}