elm: [atspi][widget] Proper handling: In case of widget is registerd by elm_access_ob...
authorShinwoo Kim <cinoo.kim@samsung.com>
Wed, 13 Dec 2017 08:46:56 +0000 (14:16 +0530)
committerJiyoun Park <jy0703.park@samsung.com>
Thu, 21 Dec 2017 13:30:52 +0000 (22:30 +0900)
@tizen_fix

orignal patch:5211783e90c0ce1ed169b92dcb71de7014d42c02

Change-Id: I03b7effba0360bad0503a99048874e3922e01a3e

src/lib/elementary/elm_widget.c

index a40075b..b7886df 100644 (file)
@@ -6607,10 +6607,12 @@ _accessible_at_point_top_down_get(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSE
                    compare_obj = info->part_object;
                 }
              /* In case of widget is registerd by elm_access_object_register */
-             Elm_Access_Info *info = _elm_access_info_get(child);
-             if (info && info->part_object)
+             Evas_Object *ao = elm_access_object_get(child);
+             if (ao)
                {
-                  compare_obj = info->part_object;
+                  eina_list_free(children);
+                  eina_list_free(stack);
+                  return ao;
                }
 
              /* In case of ewk wrapper object compare with internal ewk_view evas_object */