From 5e8e689be4c7d26d195ac25004d5ccb7403899a1 Mon Sep 17 00:00:00 2001 From: SangHyeon Jade Lee Date: Thu, 21 Sep 2017 19:52:33 +0900 Subject: [PATCH] genlist & gengrid : fix build warnings Change-Id: Ia356f41294f8e0bb84446699a7de87757d1b23b3 Signed-off-by: SangHyeon Jade Lee --- src/lib/elm_gengrid.c | 8 ++++---- src/lib/elm_genlist.c | 2 -- src/mobile_lib/elm_genlist.c | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c index 8d5f070..454709f 100644 --- a/src/lib/elm_gengrid.c +++ b/src/lib/elm_gengrid.c @@ -6258,7 +6258,7 @@ _elm_gengrid_item_elm_interface_atspi_component_highlight_grab(Eo *eo_it, Elm_Ge ELM_GENGRID_DATA_GET_OR_RETURN_VAL(WIDGET(it), sd, EINA_FALSE); //TIZEN_ONLY(20170119): Show the object highlighted by highlight_grab when the object is completely out of the scroll - eo_do_super(EO_OBJ(it), ELM_GENGRID_ITEM_CLASS, elm_interface_atspi_component_highlight_grab()); + eo_do_super(eo_it, ELM_GENGRID_ITEM_CLASS, elm_interface_atspi_component_highlight_grab()); // if (!VIEW(it)) @@ -6275,14 +6275,14 @@ _elm_gengrid_item_elm_interface_atspi_component_highlight_clear(Eo *eo_it, Elm_G if (sd->atspi_item_to_highlight == it) sd->atspi_item_to_highlight = NULL; // - elm_object_accessibility_highlight_set(EO_OBJ(it), EINA_FALSE); + elm_object_accessibility_highlight_set(eo_it, EINA_FALSE); ///TIZEN_ONLY(20170717) : expose highlight information on atspi - elm_interface_atspi_accessible_state_changed_signal_emit(EO_OBJ(it), ELM_ATSPI_STATE_HIGHLIGHTED, EINA_FALSE); + elm_interface_atspi_accessible_state_changed_signal_emit(eo_it, ELM_ATSPI_STATE_HIGHLIGHTED, EINA_FALSE); /// //TIZEN_ONLY(20170412) Make atspi,(un)highlighted work on widget item // If you call eo_do_super, then you do NOT have to call smart callback. - evas_object_smart_callback_call(WIDGET(it), "atspi,unhighlighted", EO_OBJ(it)); + evas_object_smart_callback_call(WIDGET(it), "atspi,unhighlighted", eo_it); // return EINA_TRUE; } diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 1fe18fa..2e8a154 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -1396,7 +1396,6 @@ static void _elm_genlist_item_state_update(Elm_Gen_Item *it) { Eina_Bool tmp; - ELM_GENLIST_DATA_GET_FROM_ITEM(it, sd); if (it->selected) { edje_object_signal_emit(VIEW(it), SIGNAL_SELECTED, "elm"); @@ -1608,7 +1607,6 @@ static void _item_cache_free(Item_Cache *itc) { Evas_Object *c; - const char *part; if (!itc) return; diff --git a/src/mobile_lib/elm_genlist.c b/src/mobile_lib/elm_genlist.c index 1c39b5a..37c4950 100644 --- a/src/mobile_lib/elm_genlist.c +++ b/src/mobile_lib/elm_genlist.c @@ -8868,7 +8868,7 @@ _elm_genlist_tree_effect_enabled_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd E } EOLIAN static void -_elm_genlist_focus_on_selection_set(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd EINA_UNUSED, Eina_Bool enabled) +_elm_genlist_focus_on_selection_set(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd EINA_UNUSED, Eina_Bool enabled EINA_UNUSED) { // Need to Implemented //sd->focus_on_selection_enabled = !!enabled; -- 2.7.4