summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_calc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/edje/edje_calc.c')
-rw-r--r--src/lib/edje/edje_calc.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index 14627cd302..f6d75e6cc7 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -405,6 +405,23 @@ _edje_image_find(Evas_Object *obj, Edje *ed, Edje_Real_Part_Set **eps,
405 } 405 }
406 } 406 }
407 407
408 entry = eina_list_data_get(set->entries);
409 if (entry)
410 {
411 if (eps)
412 {
413 if (!*eps)
414 *eps = calloc(1, sizeof (Edje_Real_Part_Set));
415 if (*eps)
416 {
417 (*eps)->entry = entry;
418 (*eps)->set = set;
419 (*eps)->id = id;
420 }
421 }
422 return entry->id;
423 }
424
408 return -1; 425 return -1;
409} 426}
410 427