From f7e1e69e41e13f33aa8036f30d668fb8980a992f Mon Sep 17 00:00:00 2001 From: "sumanth.m" Date: Thu, 6 Jan 2011 23:02:59 +0530 Subject: [PATCH] a local function(_icon_animation) in actionslider is corrected --- src/lib/elm_actionslider.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/elm_actionslider.c b/src/lib/elm_actionslider.c index 14b616b..d9eb5a1 100644 --- a/src/lib/elm_actionslider.c +++ b/src/lib/elm_actionslider.c @@ -243,11 +243,10 @@ _icon_up_cb(void *data, Evas *e, Evas_Object *obj, void *event_info) static Eina_Bool _icon_animation(void *data) { - Widget_Data *wd = elm_widget_data_get(data); + Widget_Data *wd = (Widget_Data *)data; double cur_position = 0.0, new_position = 0.0; double move_amount = 0.05; Eina_Bool flag_finish_animation = EINA_FALSE; - if (!wd) return EINA_FALSE; edje_object_part_drag_value_get(wd->as, "elm.swallow.icon", &cur_position, NULL); -- 2.7.4