elm_part: Mark as auto-unref before finalize
authorJean-Philippe Andre <jp.andre@samsung.com>
Fri, 24 Nov 2017 07:19:21 +0000 (16:19 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 24 Nov 2017 07:27:18 +0000 (16:27 +0900)
commitdee149f3aae2cc44ee5614dbfa0e467ae3237301
tree6ca505eadc439e77218b98510b76686e969dce6b
parent7e785d936db96b6c6ff572add0c5eacc1066dd7a
elm_part: Mark as auto-unref before finalize

This simplifies the IMPLEMENT macro, which can now be a proper function.
Also, do not set a parent for the part object, as it's not useful and
could mess up the refcount.
src/lib/elementary/elm_part_helper.h