Ui text: fix deletion of the swallowed text object
authorDaniel Hirt <hirt.danny@gmail.com>
Thu, 12 Jan 2017 16:01:52 +0000 (18:01 +0200)
committerDaniel Hirt <hirt.danny@gmail.com>
Thu, 12 Jan 2017 16:15:10 +0000 (18:15 +0200)
commit50c9d1aeaa9172e4b6492eabd0da49aafd3523bb
tree77669c11675fff7be54302dfe824d56f1cdd7752
parent251f52006fc5b73fbe27b89ad65688ef906c7869
Ui text: fix deletion of the swallowed text object

The Efl.Canvas.Text object loses its parent due to a specific behavior
of Edje when swallowing objects.
The mentioned object then loses sync with the Ui.Text object, thus not
getting deleted upon destruction - that's actually because Edje
reparents to the canvas upon its own deletion.
Adding this fix until we figure out if there is a better alternative.
src/lib/elementary/efl_ui_text.c