jackdanielz pushed a commit to branch master. http://git.enlightenment.org/tools/erigo.git/commit/?id=0f3adbc55e1f1d603c05e609ec1af3b6a78c2a5e
commit 0f3adbc55e1f1d603c05e609ec1af3b6a78c2a5e Author: Daniel Zaoui <[email protected]> Date: Sun Nov 1 15:15:20 2015 +0200 Generator: don't generate dummy widgets --- src/lib/generator.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/generator.c b/src/lib/generator.c index 688cf73..bf69803 100644 --- a/src/lib/generator.c +++ b/src/lib/generator.c @@ -437,6 +437,7 @@ _wdg_add_generate(Gui_Session *session, const Gui_Widget *wdg, void *data) { Widget_Context *wdg_ctx = data; + if (eid_is_dummy(wdg_eid_get(wdg))) return EINA_FALSE; /* Add widget's name into the list of variable declarations. */ wdg_ctx->declarations = eina_list_append(wdg_ctx->declarations, wdg_eid_get(wdg)); @@ -856,6 +857,7 @@ _ctx_generate(Global_Gen_Context *gl_ctx) EINA_LIST_FOREACH(gui_context_main_widgets_get(ctx), itr, eid) { + if (eid_is_dummy(eid)) continue; Gui_Widget *wdg = wdg_get(eid); if (wdg) { --
