evas: Remove common interface and use provider_find 62/82062/2
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 21 Jun 2016 06:45:31 +0000 (15:45 +0900)
committerJaehwan Kim <jae.hwan.kim@samsung.com>
Wed, 3 Aug 2016 09:25:36 +0000 (02:25 -0700)
Evas.Common_Interface not only had a bad name, it also
wasn't in line with how we can get a loop object, for
instance.

Use eo_provider_find in each implementing class.

Change-Id: I653d1c5a3687df3dfc9b37015ffa2b939d8bf8d0

src/lib/edje/edje_edit.c

index e430a62..0cb81ee 100644 (file)
@@ -342,7 +342,7 @@ _edje_real_part_free(Edje *ed, Edje_Real_Part *rp)
    if ((rp->type == EDJE_RP_TYPE_SWALLOW) && (rp->typedata.swallow)
        && (rp->typedata.swallow->swallowed_object))
      {
-        eo_parent_set(rp->typedata.swallow->swallowed_object, evas_common_evas_get(ed->obj));
+        eo_parent_set(rp->typedata.swallow->swallowed_object, evas_object_evas_get(ed->obj));
         evas_object_smart_member_del(rp->typedata.swallow->swallowed_object);
         evas_object_event_callback_del(rp->typedata.swallow->swallowed_object,
                                        EVAS_CALLBACK_FREE, _edje_object_part_swallow_free_cb);