static bool __component_data_get_apps_info(component_info_h handle, char *package, app_data_t **item)
{
- bool nodisplay = false;
+ bool icon_display = false;
int ret;
package_info_h p_handle = NULL;
memset(new_item, 0, sizeof(app_data_t));
*item = new_item;
- component_info_is_icon_display(handle, &nodisplay);
- if (nodisplay) {
- __D("Nodisplay is TRUE");
+ component_info_is_icon_display(handle, &icon_display);
+ if (!icon_display) {
+ __D("icon display is false");
goto ERROR;
}