aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/edje/edje_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/edje/edje_util.c')
-rw-r--r--src/lib/edje/edje_util.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c
index b5638ecfc1..cfbccd6c26 100644
--- a/src/lib/edje/edje_util.c
+++ b/src/lib/edje/edje_util.c
@@ -3297,7 +3297,11 @@ _efl_canvas_layout_efl_part_part(Eo *obj, Edje *ed, const char *part)
if ((!ed) || (!part)) return NULL;
rp = _edje_real_part_recursive_get(&ed, part);
- if (!rp) return NULL;
+ if (EINA_UNLIKELY(!rp))
+ {
+ WRN("No such part '%s' in group '%s'.", part, ed->group);
+ return NULL;
+ }
if (rp->part->type == EDJE_PART_TYPE_BOX)
return _edje_box_internal_proxy_get(obj, ed, rp);