summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_access.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2012-10-04 02:47:15 +0000
committerCedric BAIL <cedric.bail@free.fr>2012-10-04 02:47:15 +0000
commit441a2ef86188d1e8c9500764846f2b6c5a0e2eb4 (patch)
tree69fea5e70343dd05d3fdf309f3f350701c026786 /legacy/elementary/src/lib/elm_access.c
parent4e9231619330fde36b7fa66f669f915e6f19be27 (diff)
elementary: Fixes copy&paste error and possible invalid memory access.
Patch by Igor Murzov <e-mail@date.by> SVN revision: 77397
Diffstat (limited to 'legacy/elementary/src/lib/elm_access.c')
-rw-r--r--legacy/elementary/src/lib/elm_access.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/elementary/src/lib/elm_access.c b/legacy/elementary/src/lib/elm_access.c
index 8b55500..6a5b868 100644
--- a/legacy/elementary/src/lib/elm_access.c
+++ b/legacy/elementary/src/lib/elm_access.c
@@ -691,13 +691,13 @@ _access_item_del_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__,
691EAPI void 691EAPI void
692_elm_access_widget_item_register(Elm_Widget_Item *item) 692_elm_access_widget_item_register(Elm_Widget_Item *item)
693{ 693{
694 Evas_Object *ao; 694 Evas_Object *ao, *ho;
695 Evas_Object *ho = item->view;
696 Evas_Coord x, y, w, h; 695 Evas_Coord x, y, w, h;
697 696
698 if (!item) return; 697 if (!item) return;
699 698
700 // create access object 699 // create access object
700 ho = item->view;
701 ao = _elm_access_add(item->widget); 701 ao = _elm_access_add(item->widget);
702 evas_object_event_callback_add(ho, EVAS_CALLBACK_RESIZE, 702 evas_object_event_callback_add(ho, EVAS_CALLBACK_RESIZE,
703 _content_resize, ao); 703 _content_resize, ao);