aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-08-16 11:50:24 -0700
committerCedric BAIL <cedric.bail@free.fr>2019-08-21 11:18:38 -0700
commita473601ce76b746d67522674cca3df47ad4de386 (patch)
tree8d65f920c18490f00d49b6e1f10f345b6df78299 /src/lib/elementary
parentelementary: allow Efl.Ui.Factory to have a chance to call constructor function. (diff)
downloadefl-a473601ce76b746d67522674cca3df47ad4de386.tar.gz
elementary: Efl.Ui.Layout_Factory should not set the theme if there isn't any defined.
Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D9602
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_layout_factory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_layout_factory.c b/src/lib/elementary/efl_ui_layout_factory.c
index bc3a5d19f3..15246ffa71 100644
--- a/src/lib/elementary/efl_ui_layout_factory.c
+++ b/src/lib/elementary/efl_ui_layout_factory.c
@@ -90,7 +90,8 @@ _efl_ui_layout_factory_bind(Eo *obj EINA_UNUSED, void *data, const Eina_Value va
static void
_efl_ui_layout_factory_efl_ui_factory_building(const Eo *obj, Efl_Ui_Layout_Factory_Data *pd, Efl_Gfx_Entity *ui_view)
{
- efl_ui_layout_theme_set(ui_view, pd->klass, pd->group, pd->style);
+ if (pd->klass || pd->group || pd->style)
+ efl_ui_layout_theme_set(ui_view, pd->klass, pd->group, pd->style);
efl_ui_factory_building(efl_super(obj, EFL_UI_LAYOUT_FACTORY_CLASS), ui_view);
}