efl_ui_spotlight_container: fix ownership behavior of view_manager
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Fri, 12 Jul 2019 16:39:07 +0000 (18:39 +0200)
committerWooHyun Jung <wh0705.jung@samsung.com>
Mon, 5 Aug 2019 01:47:34 +0000 (10:47 +0900)
commitebfc141d58f5dd9d6cf5f035ba3ed75ac5cd04bf
treee8161b986c1732591722c18c48b92883faf0a53a
parentf3eb416ca5b5294fd7a445f369ae7b7ebbefd597
efl_ui_spotlight_container: fix ownership behavior of view_manager

view_manager is a property that takes ownership of the view_manager
object. We are setting the parent in the setter which means, we should
actaully have one ref to the parent, and one from the caller, so we need
to unref one.

Differential Revision: https://phab.enlightenment.org/D9304
src/bin/elementary/test_ui_tab_pager.c
src/lib/elementary/efl_ui_spotlight_container.c
src/lib/elementary/efl_ui_spotlight_util.c
src/tests/elementary/efl_ui_test_spotlight.c