elm - fix warnings added in f99be3a1d6bdc63153598b592b5437c33da44bf0

This commit is contained in:
Carsten Haitzler 2014-12-16 19:36:35 +09:00
parent 7ca7e06253
commit 17f411f6be
1 changed files with 2 additions and 2 deletions

View File

@ -2863,7 +2863,7 @@ _key_action_move(Evas_Object *obj, const char *params)
if (sd->reorder.running) return EINA_TRUE;
if (sd->reorder_mode)
{
Elm_Gen_Item *up = (Elm_Gen_Item *)elm_genlist_item_prev_get(sd->focused_item);
Elm_Object_Item *up = elm_genlist_item_prev_get(sd->focused_item);
ELM_GENLIST_ITEM_DATA_GET(sd->focused_item, focused_it);
ELM_GENLIST_ITEM_DATA_GET(up, up2);
@ -2886,7 +2886,7 @@ _key_action_move(Evas_Object *obj, const char *params)
if (sd->reorder.running) return EINA_TRUE;
if (sd->reorder_mode)
{
Elm_Gen_Item *down = (Elm_Gen_Item *)elm_genlist_item_next_get(sd->focused_item);
Elm_Object_Item *down = elm_genlist_item_next_get(sd->focused_item);
ELM_GENLIST_ITEM_DATA_GET(sd->focused_item, focused_it);
ELM_GENLIST_ITEM_DATA_GET(down, down2);