summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_access.c
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2014-08-13 16:36:29 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2014-11-12 11:52:10 +0200
commita9b13f7633f8ac8902f7c85c8468b92addd2bdf1 (patch)
treeba645635467786c3e975f2b0da810b049fe4994c /legacy/elementary/src/lib/elm_access.c
parentf23b105ef999325dd37b0264ce84c0385a11193f (diff)
Elm Widget Item: Migrate to Eo
Since we want to support legacy inheritance mechanism, code is not finished and will have to be cleaned when all the items are ported.
Diffstat (limited to 'legacy/elementary/src/lib/elm_access.c')
-rw-r--r--legacy/elementary/src/lib/elm_access.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/legacy/elementary/src/lib/elm_access.c b/legacy/elementary/src/lib/elm_access.c
index cb7c058..754aba9 100644
--- a/legacy/elementary/src/lib/elm_access.c
+++ b/legacy/elementary/src/lib/elm_access.c
@@ -129,7 +129,7 @@ _elm_access_elm_widget_activate(Eo *obj, void *_pd EINA_UNUSED, Elm_Activate act
129 129
130 if (ac->activate) 130 if (ac->activate)
131 ac->activate(ac->activate_data, ac->part_object, 131 ac->activate(ac->activate_data, ac->part_object,
132 (Elm_Object_Item *)ac->widget_item); 132 (Elm_Object_Item *)ac->widget_item->eo_obj);
133 133
134 return EINA_TRUE; 134 return EINA_TRUE;
135} 135}
@@ -413,13 +413,13 @@ _access_order_del_cb(void *data,
413 Evas_Object *obj, 413 Evas_Object *obj,
414 void *event_info EINA_UNUSED) 414 void *event_info EINA_UNUSED)
415{ 415{
416 Elm_Widget_Item *item = data; 416 Elm_Widget_Item_Data *item = data;
417 417
418 item->access_order = eina_list_remove(item->access_order, obj); 418 item->access_order = eina_list_remove(item->access_order, obj);
419} 419}
420 420
421void 421void
422_elm_access_widget_item_access_order_set(Elm_Widget_Item *item, 422_elm_access_widget_item_access_order_set(Elm_Widget_Item_Data *item,
423 Eina_List *objs) 423 Eina_List *objs)
424{ 424{
425 Eina_List *l; 425 Eina_List *l;
@@ -439,14 +439,14 @@ _elm_access_widget_item_access_order_set(Elm_Widget_Item *item,
439} 439}
440 440
441const Eina_List * 441const Eina_List *
442_elm_access_widget_item_access_order_get(const Elm_Widget_Item *item) 442_elm_access_widget_item_access_order_get(const Elm_Widget_Item_Data *item)
443{ 443{
444 if (!item) return NULL; 444 if (!item) return NULL;
445 return item->access_order; 445 return item->access_order;
446} 446}
447 447
448void 448void
449_elm_access_widget_item_access_order_unset(Elm_Widget_Item *item) 449_elm_access_widget_item_access_order_unset(Elm_Widget_Item_Data *item)
450{ 450{
451 Eina_List *l, *l_next; 451 Eina_List *l, *l_next;
452 Evas_Object *o; 452 Evas_Object *o;
@@ -1156,7 +1156,7 @@ _elm_access_object_unregister(Evas_Object *obj, Evas_Object *hoverobj)
1156} 1156}
1157 1157
1158EAPI void 1158EAPI void
1159_elm_access_widget_item_register(Elm_Widget_Item *item) 1159_elm_access_widget_item_register(Elm_Widget_Item_Data *item)
1160{ 1160{
1161 Evas_Object *ao, *ho; 1161 Evas_Object *ao, *ho;
1162 Evas_Coord x, y, w, h; 1162 Evas_Coord x, y, w, h;
@@ -1194,7 +1194,7 @@ _elm_access_widget_item_register(Elm_Widget_Item *item)
1194} 1194}
1195 1195
1196EAPI void 1196EAPI void
1197_elm_access_widget_item_unregister(Elm_Widget_Item *item) 1197_elm_access_widget_item_unregister(Elm_Widget_Item_Data *item)
1198{ 1198{
1199 Evas_Object *ao; 1199 Evas_Object *ao;
1200 1200