efl_ui/layout: fix multiple emissions of theme,changed during construction
authorMike Blumenkrantz <zmike@samsung.com>
Tue, 26 Nov 2019 15:49:55 +0000 (10:49 -0500)
committerJongmin Lee <jm105.lee@samsung.com>
Wed, 4 Dec 2019 21:21:02 +0000 (06:21 +0900)
commitdc1af277405f339f1c38ec72953362485d9ebc2c
tree1c9e523cfecef237372acccfdfdad7fe54c354ee
parentc471f4a90966e03d1cc80f204f3c7c20ef869618
efl_ui/layout: fix multiple emissions of theme,changed during construction

in the case where a layout object was created and had a theme manually set
with efl_ui_layout_theme_set() during construction, the layout would then
call theme_apply() a second time internally during finalize which, if the
theme has not changed (as can only be the case if this flag is unset),
results in a repeated theme_apply for the existing theme

@fix

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