diff --git a/src/bin/elementary/test_ui_box.c b/src/bin/elementary/test_ui_box.c index 7c83b4adf7..435376fe6e 100644 --- a/src/bin/elementary/test_ui_box.c +++ b/src/bin/elementary/test_ui_box.c @@ -158,6 +158,8 @@ _custom_engine_layout_do(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED, // Note: This is a TERRIBLE layout. Just an example of the API, not showing // how to write a proper layout function. + if (!count) return; + efl_gfx_geometry_get(pack, &px, &py, &pw, &ph); EINA_ITERATOR_FOREACH(it, sobj) {