ao_app_icon = elm_access_object_register(icon, item);
elm_atspi_accessible_name_set(ao_app_icon, info->name ? strdup(info->name) : NULL);
snprintf(buf, sizeof(buf), S_("IDS_AT_BODY_PAGE_P1SD_OF_P2SD_T_TTS"), main_info->cur_page + 1, eina_list_count(main_info->pkg_list));
- elm_atspi_accessible_description_set(ao_app_icon, buf ? strdup(buf) : NULL);
+ elm_atspi_accessible_description_set(ao_app_icon, strdup(buf));
elm_atspi_accessible_translation_domain_set(ao_app_icon, PACKAGE);
elm_atspi_accessible_reading_info_type_set(ao_app_icon, (ELM_ACCESSIBLE_READING_INFO_TYPE_NAME | ELM_ACCESSIBLE_READING_INFO_TYPE_DESCRIPTION));
elm_access_action_cb_set(ao_app_icon, ELM_ACCESS_ACTION_ACTIVATE, _screen_reader_launch_app, main_info);
if (access_obj) {
char buf[128] = { 0, };
snprintf(buf, sizeof(buf), S_("IDS_AT_BODY_PAGE_P1SD_OF_P2SD_T_TTS"), main_info->cur_page + 1, eina_list_count(main_info->pkg_list));
- elm_atspi_accessible_description_set(access_obj, buf ? strdup(buf) : NULL);
+ elm_atspi_accessible_description_set(access_obj, strdup(buf));
elm_atspi_accessible_can_highlight_set(access_obj, can_highlight);
}
}