summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNilesh Trimbake <t.shripati@samsung.com>2018-04-12 18:30:05 +0530
committerNilesh Trimbake <t.shripati@samsung.com>2018-04-12 18:30:05 +0530
commit64a5f99de55568e842700df16299b821d09c4616 (patch)
treec978dcf61ada634a87e0bd87fdafbccfc73b5d4a
parent7b6028b30beda5a9df68233e433737d04eb2ad4f (diff)
downloadphone-contacts-64a5f99de55568e842700df16299b821d09c4616.tar.gz
phone-contacts-64a5f99de55568e842700df16299b821d09c4616.tar.bz2
phone-contacts-64a5f99de55568e842700df16299b821d09c4616.zip
Remove eo API with efl API.
This patch remove eo API eo_parent_get(), with efl API efl_parent_get(). Change-Id: I72f2239b261aae3fb6c423c353c4252f98bb2dd5
-rw-r--r--lib-apps-common/src/Ui/Control.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib-apps-common/src/Ui/Control.cpp b/lib-apps-common/src/Ui/Control.cpp
index ff9e73a..2156679 100644
--- a/lib-apps-common/src/Ui/Control.cpp
+++ b/lib-apps-common/src/Ui/Control.cpp
@@ -16,6 +16,7 @@
#include "Ui/Control.h"
#include "Utils/Callback.h"
+#include<efl_object.eo.h>
#define EVENT_TYPE_CHECK "type_check"
@@ -112,7 +113,7 @@ Control *Control::findParent(Evas_Object *object, const std::type_info &type)
if (auto control = getControl(object, type)) {
return control;
}
- eo_do(object, object = eo_parent_get());
+ object = efl_parent_get(object);
}
return nullptr;