elementary: destroy fileselector children when they are not itemized yet.
authorCedric BAIL <cedric.bail@free.fr>
Fri, 15 Mar 2019 23:56:33 +0000 (16:56 -0700)
committerJunsuChoi <jsuya.choi@samsung.com>
Tue, 2 Apr 2019 04:14:38 +0000 (13:14 +0900)
commit157d4c362117e9486968c918a307a5ea1e2ba187
tree877d66fc031e50e72da051ce974e0c0ed9ad837b
parentcea9b57d696a3fbd745c05e36adacdcaa2836913
elementary: destroy fileselector children when they are not itemized yet.

As we now do everything asynchronously, we do have model representing child
of the main model that don't provide enough information to be displayed yet.
This are not tracked by a genlist item, nor are they a child of the
fileselector. To properly handle their lifecycle, it is necessary to unref
them manually explicitely.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8375
src/lib/elementary/elc_fileselector.c
src/lib/elementary/elm_widget_fileselector.h