Change-Id: I2d672047e71512d802730b82be970e56de0963a3
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
{
vc_elm_s *handler = NULL;
Eina_List *list = NULL;
- int type = 0;
if (0 != __vc_elm_get_feature_enabled()) {
return VC_ELM_ERROR_NOT_SUPPORTED;
}
return VC_ELM_ERROR_INVALID_PARAMETER;
}
handler = (vc_elm_s *)vc_elm;
- type = handler->type;
- if (!((VC_ELM_TYPE_EVAS_OBJECT == type) || (VC_ELM_TYPE_ITEM == type))) {
- VC_ELM_LOG_ERR("Invalid type detected!"); //LCOV_EXCL_LINE
- return VC_ELM_ERROR_INVALID_PARAMETER;
- }
-
list = eina_list_data_find_list(g_handlers_list, handler);
if (NULL == list) {
VC_ELM_LOG_ERR("Bad handler pointer detected!"); //LCOV_EXCL_LINE