silence another ERR log with invalid obj type

This commit is contained in:
Carsten Haitzler 2019-11-08 16:29:05 +00:00
parent 6375d1a726
commit 7e81c0bd8e
1 changed files with 7 additions and 3 deletions

View File

@ -713,6 +713,7 @@ _e_comp_shapes_update_job(void *d EINA_UNUSED)
Eina_Rectangle *r;
Eina_List *rl = NULL;
E_Color color = {0};
const char *type;
SHAPE_INF("---------------------");
@ -738,11 +739,14 @@ _e_comp_shapes_update_job(void *d EINA_UNUSED)
_e_comp_shapes_update_object_shape_comp_helper(o, tb);
continue;
}
ec = e_comp_object_client_get(o);
ec = NULL;
type = evas_object_type_get(o);
if ((type) && (!strcmp(type, "e_comp_object")))
ec = e_comp_object_client_get(o);
if (ec && (!ec->no_shape_cut))
_e_comp_shapes_update_comp_client_shape_comp_helper(ec, tb
,&rl
);
,&rl
);
else
_e_comp_shapes_update_object_shape_comp_helper(o, tb);