jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4de199b7ac9dc3d90ee6cfc661f0e105f8d775bb

commit 4de199b7ac9dc3d90ee6cfc661f0e105f8d775bb
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Thu Oct 1 20:27:36 2015 +0900

    Edje: Fix big oopsie in previous commit
---
 src/lib/edje/edje_load.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c
index e9fcfa3..13ad301 100644
--- a/src/lib/edje/edje_load.c
+++ b/src/lib/edje/edje_load.c
@@ -710,10 +710,12 @@ _edje_object_file_set_internal(Evas_Object *obj, const 
Eina_File *file, const ch
 
                      case EDJE_PART_TYPE_PROXY:
                      case EDJE_PART_TYPE_IMAGE:
+                       rp->object = evas_object_image_add(ed->base->evas);
+                       break;
+
                      case EDJE_PART_TYPE_SNAPSHOT:
                        rp->object = 
evas_object_image_filled_add(ed->base->evas);
-                       if (ep->type == EDJE_PART_TYPE_SNAPSHOT)
-                         evas_object_image_snapshot_set(rp->object, EINA_TRUE);
+                       evas_object_image_snapshot_set(rp->object, EINA_TRUE);
                        break;
 
                      case EDJE_PART_TYPE_TEXT:

-- 


Reply via email to