panel: Delay elm_layout_theme_set until memebers are initialized in _smart_add
authorRyuan Choi <ryuan.choi@gmail.com>
Wed, 15 Jan 2014 19:02:11 +0000 (04:02 +0900)
committerRyuan Choi <ryuan.choi@gmail.com>
Wed, 15 Jan 2014 19:02:11 +0000 (04:02 +0900)
commitec698973246a9d6f9428ff0988fdff88627192c5
tree33a99721251b13d0df4087629e037a54e9f5429f
parentaa8f3b2a4a44634a5e9061b2589c285f49477904
panel: Delay elm_layout_theme_set until memebers are initialized in _smart_add

elm_layout_theme_set can call some methods like _elm_panel_smart_theme and there are some warnings
when these methods manipulate some member variabls which are not initialized yet.
It's because elm_layout_theme_set is called too early in _smart_add.

Spotted while digging warnings after rELM4c3e23de9e46
src/lib/elm_panel.c