diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c index 3bb3b0e050..51a21a9b68 100644 --- a/src/lib/edje/edje_load.c +++ b/src/lib/edje/edje_load.c @@ -1224,7 +1224,7 @@ _edje_object_collect(Edje *ed) break; } case EDJE_USER_SWALLOW: - edje_object_part_unswallow(ed->obj, eud->u.swallow.child); + edje_object_part_unswallow(NULL, eud->u.swallow.child); break; case EDJE_USER_DRAG_STEP: case EDJE_USER_DRAG_PAGE: @@ -1965,4 +1965,4 @@ _cb_signal_repeat(void *data, Evas_Object *obj, const char *sig, const char *sou if (ed_parent) _edje_util_message_send(ed_parent, EDJE_QUEUE_SCRIPT, EDJE_MESSAGE_SIGNAL, 0, &emsg); -} +} \ No newline at end of file diff --git a/src/lib/edje/edje_smart.c b/src/lib/edje/edje_smart.c index ab4b65cd2b..a4de77fc0c 100644 --- a/src/lib/edje/edje_smart.c +++ b/src/lib/edje/edje_smart.c @@ -166,15 +166,13 @@ _edje_evas_smart_move(Eo *obj EINA_UNUSED, Edje *ed, Evas_Coord x, Evas_Coord y) ep = ed->table_parts[i]; if ((ep->type == EDJE_RP_TYPE_TEXT) && (ep->typedata.text)) { - if (ep->object) - evas_object_move(ep->object, - ed->x + ep->x + ep->typedata.text->offset.x, - ed->y + ep->y + ep->typedata.text->offset.y); + evas_object_move(ep->object, + ed->x + ep->x + ep->typedata.text->offset.x, + ed->y + ep->y + ep->typedata.text->offset.y); } else { - if (ep->object) - evas_object_move(ep->object, ed->x + ep->x, ed->y + ep->y); + evas_object_move(ep->object, ed->x + ep->x, ed->y + ep->y); if ((ep->type == EDJE_RP_TYPE_SWALLOW) && (ep->typedata.swallow)) {