aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_focus.c
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2014-03-12 08:53:00 +0200
committerDaniel Zaoui <daniel.zaoui@samsung.com>2014-03-12 10:57:28 +0200
commit103e89a04a2e50930a3d84839fe8564cf8ebcee7 (patch)
tree050cc9be182d68d1fef681157ceca1d0a7e52327 /src/lib/evas/canvas/evas_focus.c
parentEolian: Integration of Evas Object. (diff)
downloadefl-103e89a04a2e50930a3d84839fe8564cf8ebcee7.tar.gz
Eolian: Integration of Evas
Diffstat (limited to 'src/lib/evas/canvas/evas_focus.c')
-rw-r--r--src/lib/evas/canvas/evas_focus.c20
1 files changed, 3 insertions, 17 deletions
diff --git a/src/lib/evas/canvas/evas_focus.c b/src/lib/evas/canvas/evas_focus.c
index 2ea81b7a96..4f529b3909 100644
--- a/src/lib/evas/canvas/evas_focus.c
+++ b/src/lib/evas/canvas/evas_focus.c
@@ -52,22 +52,8 @@ _evas_object_focus_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj)
return obj->focused;
}
-EAPI Evas_Object *
-evas_focus_get(const Evas *e)
+EOLIAN Evas_Object*
+_evas_focus_get(Eo *eo_obj EINA_UNUSED, Evas_Public_Data *e)
{
- MAGIC_CHECK(e, Evas, MAGIC_EVAS);
- return NULL;
- MAGIC_CHECK_END();
- Evas_Object *ret = NULL;
- eo_do((Eo *)e, evas_canvas_focus_get(&ret));
- return ret;
+ return e->focused;
}
-
-void
-_canvas_focus_get(Eo *eo_obj EINA_UNUSED, void *_pd, va_list *list)
-{
- Evas_Object **ret = va_arg(*list, Evas_Object **);
- const Evas_Public_Data *e = _pd;
- *ret = e->focused;
-}
-