atspi: Fix build fail by using wrong variables 92/147892/1
authorJunsuChoi <jsuya.choi@samsung.com>
Wed, 6 Sep 2017 03:22:32 +0000 (12:22 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Wed, 6 Sep 2017 03:22:32 +0000 (12:22 +0900)
Change-Id: I717abf2816ebc59dcd340b838308542ea33d7a5f

src/lib/elm_widget.c

index e034c4c3c58241689f5424dd4767bb12db1d0749..a67225d6e9130f8f3538a87c7df937e70dcca7de 100644 (file)
@@ -7262,16 +7262,15 @@ _accessible_at_point_top_down_get(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSE
                {
                   Elm_Widget_Item_Data *id = eo_data_scope_get(child, ELM_WIDGET_ITEM_CLASS);
                   compare_obj = id->view;
-                  if (TIZEN_PROFILE_WEARABLE)
+#ifdef TIZEN_PROFILE_WEARABLE
+                  Eo* it_view = evas_object_image_source_get(stack_item);
+                  if (it_view && it_view == compare_obj)
                     {
-                       Eo* it_view = evas_object_image_source_get(stack_item);
-                       if (it_view && it_view == compare_obj)
-                         {
-                            eina_list_free(children);
-                            eina_list_free(stack);
-                            return child;
-                         }
+                       eina_list_free(children);
+                       eina_list_free(stack);
+                       return child;
                     }
+#endif
                }
              /* In case of access object compare should be 'wrapped' evas_object */
              if (eo_isa(child, ELM_ACCESS_CLASS))