diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2019-11-08 16:29:05 +0000 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2019-11-08 16:29:05 +0000 |
commit | 7e81c0bd8e29ded0f9e3a7bb4e0733bfae6c288a (patch) | |
tree | 0125b6e3569496632ddf251711f96acb023deba2 | |
parent | 6375d1a7260aca7575438fecf372792dd5242044 (diff) | |
download | enlightenment-7e81c0bd8e29ded0f9e3a7bb4e0733bfae6c288a.tar.gz |
silence another ERR log with invalid obj type
-rw-r--r-- | src/bin/e_comp.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index 6727d40286..316c189acd 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -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); |