summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_calc.c
diff options
context:
space:
mode:
authorjinwoo.shin <jw0227.shin@samsung.com>2016-03-10 14:15:13 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-03-10 14:15:15 -0800
commitbe8605dc44de90227c33efd240e1895b1169047b (patch)
tree1039e0b769f7ef5b0a727ba236944a63cbdb6c42 /src/lib/edje/edje_calc.c
parent685681c8643a143a6ec708d56fc03366b66f80a5 (diff)
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>
Diffstat (limited to '')
-rw-r--r--src/lib/edje/edje_calc.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index 3e8f9c3837..fe3764ae93 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -721,9 +721,13 @@ _edje_part_description_apply(Edje *ed, Edje_Real_Part *ep, const char *d1, doubl
721 721
722 epd1 = _edje_part_description_find(ed, ep, d1, v1, EINA_TRUE); 722 epd1 = _edje_part_description_find(ed, ep, d1, v1, EINA_TRUE);
723 if (!epd1) 723 if (!epd1)
724 epd1 = _edje_get_description_by_orientation(ed, ep->part->default_desc, 724 {
725 &ep->part->default_desc_rtl, 725 ERR("Cannot find description \"%s\" in part \"%s\" from group \"%s\". Fallback to default description.",
726 ep->type); /* never NULL */ 726 d1, ep->part->name, ed->group);
727 epd1 = _edje_get_description_by_orientation(ed, ep->part->default_desc,
728 &ep->part->default_desc_rtl,
729 ep->type); /* never NULL */
730 }
727 731
728 if (d2) 732 if (d2)
729 epd2 = _edje_part_description_find(ed, ep, d2, v2, EINA_TRUE); 733 epd2 = _edje_part_description_find(ed, ep, d2, v2, EINA_TRUE);