ret_if(!appid);
util_launch_app(appid, info->instance_id, info->uri);
- /* layout_hide_with_timer(); */
}
(ELM_ACCESSIBLE_READING_INFO_TYPE_NAME
| ELM_ACCESSIBLE_READING_INFO_TYPE_STATE
| ELM_ACCESSIBLE_READING_INFO_TYPE_DESCRIPTION));
- sprintf(description, format, info->name, info->name);
+ snprintf(description, sizeof(description), format, info->name, info->name);
elm_atspi_accessible_description_set(focus, description);
evas_object_data_set(item, DATA_KEY_ITEM_INFO, info);
return NULL;
list_type_default_s *list_item = calloc(1, sizeof(list_type_default_s));
+ if (!list_item)
+ return NULL;
int ret = app_info_get_app_id(app_info, &list_item->appid);
if (ret != APP_MANAGER_ERROR_NONE) {
if (list_item->icon == NULL) {
_E("Out of memory");
_pkglist_unretrieve_item(list_item);
+ return NULL;
}
} else {
ret = app_info_get_icon(app_info, &list_item->icon);
elm_scroller_bounce_set(scroller, EINA_FALSE, EINA_FALSE);
elm_scroller_policy_set(scroller, ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_OFF);
- /* elm_object_style_set(scroller, "list_effect"); */
elm_object_focus_allow_set(scroller, EINA_FALSE);
elm_object_part_content_set(layout, "scroller", scroller);
evas_object_show(scroller);