elm elm_spinner.c: Use more eo APIs.
authorDaniel Juyung Seo <seojuyung@gmail.com>
Sat, 2 Mar 2013 14:37:51 +0000 (23:37 +0900)
committerDaniel Juyung Seo <seojuyung@gmail.com>
Sat, 2 Mar 2013 14:37:51 +0000 (23:37 +0900)
edje_object_part_drag_value_get() -> eo_do(edje_obj_part_drag_value_get);

legacy/elementary/src/lib/elm_spinner.c

index 57641ba..7f3ae49 100644 (file)
@@ -161,13 +161,14 @@ _drag_cb(void *data,
 {
    double pos = 0.0, offset, delta;
    Evas_Object *obj = data;
+   Eina_Bool ret = EINA_FALSE;
 
    ELM_SPINNER_DATA_GET(obj, sd);
    Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
 
    if (sd->entry_visible) return;
-   edje_object_part_drag_value_get
-     (wd->resize_obj, "elm.dragable.slider", &pos, NULL);
+   eo_do((Eo *)wd->resize_obj,
+         edje_obj_part_drag_value_get("elm.dragable.slider", &pos, NULL, &ret));
 
    offset = sd->step * _elm_config->scale;
    delta = pos * offset;