summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2014-09-25 01:36:03 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-09-25 01:36:03 +0900
commit56aa60364aea6824d216182e77315a6765a5de54 (patch)
tree5b3e90e644993f2caaf5cf2d73470bf01f2ba69f
parent5790a8d3d24f178c47c7217f30d741039812288a (diff)
downloadelementary-56aa60364aea6824d216182e77315a6765a5de54.tar.gz
genlist: Removed unnecessary casting of genlist item.
Reviewers: seoz Subscribers: seoz Differential Revision: https://phab.enlightenment.org/D1471
-rw-r--r--src/lib/elm_genlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 297bcf3a3..482bb71d3 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -5192,7 +5192,7 @@ _elm_genlist_looping_up_cb(void *data,
Elm_Object_Item *it = elm_genlist_last_item_get(genlist);
- elm_genlist_item_show((Elm_Object_Item *)it, ELM_GENLIST_ITEM_SCROLLTO_IN);
+ elm_genlist_item_show(it, ELM_GENLIST_ITEM_SCROLLTO_IN);
_elm_widget_focus_highlight_signal_emit(genlist, "elm,action,focus,move,up", "elm");
elm_layout_signal_emit(genlist, "elm,action,looping,up,end", "elm");
sd->item_looping_on = EINA_FALSE;
@@ -5210,7 +5210,7 @@ _elm_genlist_looping_down_cb(void *data,
Elm_Object_Item *it = elm_genlist_first_item_get(genlist);
- elm_genlist_item_show((Elm_Object_Item *)it, ELM_GENLIST_ITEM_SCROLLTO_IN);
+ elm_genlist_item_show(it, ELM_GENLIST_ITEM_SCROLLTO_IN);
_elm_widget_focus_highlight_signal_emit(genlist, "elm,action,focus,move,down", "elm");
elm_layout_signal_emit(genlist, "elm,action,looping,down,end", "elm");
sd->item_looping_on = EINA_FALSE;