diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-12-09 18:36:24 +0100 |
---|---|---|
committer | Cedric BAIL <cedric.bail@free.fr> | 2019-12-13 09:32:54 -0800 |
commit | 3a712e2497857aa53ddcbe35715261bdaa23c272 (patch) | |
tree | f9120cc2efebbf546c425de1f1804261b5c448ef | |
parent | 7a72796920041e9a0410a670f22e57f6c0250c88 (diff) |
collection_view: free pan object correctly
edje will not take over this part, edje will just reparent it to the ML
and go on.
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10839
-rw-r--r-- | src/lib/elementary/efl_ui_collection_view.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_collection_view.c b/src/lib/elementary/efl_ui_collection_view.c index dcf8f91462..ba18264225 100644 --- a/src/lib/elementary/efl_ui_collection_view.c +++ b/src/lib/elementary/efl_ui_collection_view.c | |||
@@ -2072,6 +2072,9 @@ _efl_ui_collection_view_efl_object_invalidate(Eo *obj, | |||
2072 | 2072 | ||
2073 | _all_cleanup(obj, pd); | 2073 | _all_cleanup(obj, pd); |
2074 | 2074 | ||
2075 | if (pd->pan) | ||
2076 | efl_del(pd->pan); | ||
2077 | |||
2075 | efl_invalidate(efl_super(obj, EFL_UI_COLLECTION_VIEW_CLASS)); | 2078 | efl_invalidate(efl_super(obj, EFL_UI_COLLECTION_VIEW_CLASS)); |
2076 | } | 2079 | } |
2077 | 2080 | ||