Evas_Object *layout;
bool is_created;
GQueue *pending_queue;
+ bool is_faulted;
};
static void __flush_event_queue(struct widget_info *info);
smart_signal = WIDGET_SMART_SIGNAL_WIDGET_FAULTED;
info->pid = -1;
info->state = WIDGET_STATE_DETACHED;
+ info->is_faulted = true;
__display_overlay_text(info);
break;
case WIDGET_INSTANCE_EVENT_CREATE_ABORTED:
event_info.event = WIDGET_EVENT_CREATED;
smart_signal = WIDGET_SMART_SIGNAL_WIDGET_CREATE_ABORTED;
+ info->is_faulted = true;
__display_overlay_text(info);
break;
default:
ops.removed_cb = __screen_connector_toolkit_evas_removed_cb;
ops.updated_cb = __screen_connector_toolkit_evas_updated_cb;
screen_connector_toolkit_evas_add(&ops, info->instance_id, SCREEN_CONNECTOR_SCREEEN_TYPE_WIDGET, info);
+ info->is_faulted = false;
info->pid = widget_instance_launch(info->instance_id, info->content_info, w, h);
if (info->pid < 0) {
ErrPrint("Failed to launch an widget");
return false;
}
- return info->pid < 0 ? true : false;
+ return info->is_faulted;
}
EAPI int widget_viewer_evas_freeze_visibility(Evas_Object *widget, widget_visibility_status_e status)