projects
/
profile
/
ivi
/
edje.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c70f4ff
)
edje - print error when swallow part does not exist
author
hermet
<hermet>
Tue, 13 Mar 2012 05:34:46 +0000
(
05:34
+0000)
committer
hermet
<hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 13 Mar 2012 05:34:46 +0000
(
05:34
+0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@69281
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/edje_util.c
patch
|
blob
|
history
diff --git
a/src/lib/edje_util.c
b/src/lib/edje_util.c
index
14b23e2
..
0bc38a7
100644
(file)
--- a/
src/lib/edje_util.c
+++ b/
src/lib/edje_util.c
@@
-2293,7
+2293,11
@@
edje_object_part_swallow(Evas_Object *obj, const char *part, Evas_Object *obj_sw
}
rp = _edje_real_part_recursive_get(ed, part);
- if (!rp) return EINA_FALSE;
+ if (!rp)
+ {
+ ERR("cannot swallow part %s: part not exist!", part);
+ return EINA_FALSE;
+ }
if (rp->part->type != EDJE_PART_TYPE_SWALLOW)
{
ERR("cannot swallow part %s: not swallow type!", rp->part->name);