forked from enlightenment/efl
edje: add error log message for missing description
Summary: Developer cannot notice that any description didn't applied due to missing description or typo. This message will be helpful to make correct the application. Reviewers: cedric, Hermet, raster Subscribers: soohye.shin, minkyu, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3783 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
685681c864
commit
be8605dc44
|
@ -721,9 +721,13 @@ _edje_part_description_apply(Edje *ed, Edje_Real_Part *ep, const char *d1, doubl
|
|||
|
||||
epd1 = _edje_part_description_find(ed, ep, d1, v1, EINA_TRUE);
|
||||
if (!epd1)
|
||||
{
|
||||
ERR("Cannot find description \"%s\" in part \"%s\" from group \"%s\". Fallback to default description.",
|
||||
d1, ep->part->name, ed->group);
|
||||
epd1 = _edje_get_description_by_orientation(ed, ep->part->default_desc,
|
||||
&ep->part->default_desc_rtl,
|
||||
ep->type); /* never NULL */
|
||||
}
|
||||
|
||||
if (d2)
|
||||
epd2 = _edje_part_description_find(ed, ep, d2, v2, EINA_TRUE);
|
||||
|
|
Loading…
Reference in New Issue