From 4de199b7ac9dc3d90ee6cfc661f0e105f8d775bb Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Thu, 1 Oct 2015 20:27:36 +0900 Subject: [PATCH] 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: -- 2.7.4