discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=0a9b8889e0730774ae9c6183e6ff8a72455a0e02
commit 0a9b8889e0730774ae9c6183e6ff8a72455a0e02 Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Thu Sep 8 10:29:22 2016 -0400 do not attempt to populate gadgets during type_add if site has not yet been populated mostly just fixes some ERRs on init --- src/bin/e_gadget.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bin/e_gadget.c b/src/bin/e_gadget.c index ba5e41a..7f46492 100644 --- a/src/bin/e_gadget.c +++ b/src/bin/e_gadget.c @@ -1360,9 +1360,10 @@ e_gadget_type_add(const char *type, E_Gadget_Create_Cb callback, E_Gadget_Wizard t->wizard = wizard; eina_hash_add(gadget_types, type, t); EINA_LIST_FOREACH(sites->sites, l, zgs) - EINA_LIST_FOREACH(zgs->gadgets, ll, zgc) - if (eina_streq(type, zgc->type)) - _gadget_object_create(zgc); + if (zgs->layout) + EINA_LIST_FOREACH(zgs->gadgets, ll, zgc) + if (eina_streq(type, zgc->type)) + _gadget_object_create(zgc); } E_API void --