{
Evas_Object *btn;
- UTIL_CHECK_RETURN_NULL(parent);
- UTIL_CHECK_RETURN_NULL(group);
+ if (!parent || !group)
+ return NULL;
btn = elm_button_add(parent);
- UTIL_CHECK_RETURN_NULL(btn);
+ if (!btn)
+ return NULL;
elm_object_style_set(btn, group);
{
Evas_Object *layout;
- UTIL_CHECK_RETURN_NULL(parent);
- UTIL_CHECK_RETURN_NULL(group);
+ if (!parent || !group)
+ return NULL;
layout = elm_layout_add(parent);
- UTIL_CHECK_RETURN_NULL(layout);
+ if (!layout)
+ return NULL;
elm_layout_file_set(layout, EDJ_FILE, group);
{
Evas_Object *grid;
- UTIL_CHECK_RETURN_NULL(parent);
+ if (!parent)
+ return NULL;
grid = elm_gengrid_add(parent);
- UTIL_CHECK_RETURN_NULL(grid);
+ if (!grid)
+ return NULL;
elm_scroller_bounce_set(grid, EINA_FALSE, EINA_FALSE);
elm_gengrid_horizontal_set(grid, EINA_FALSE);