dont need void * casts. void * accepts everything.

SVN revision: 55873
This commit is contained in:
Carsten Haitzler 2011-01-05 07:51:51 +00:00
parent bbc823a1eb
commit 0e5af95b0d
1 changed files with 3 additions and 3 deletions

View File

@ -119,11 +119,11 @@ _drag_button_move_cb(void *data, Evas_Object *o __UNUSED__, const char *emission
if (!wd->mouse_down) return;
edje_object_part_drag_value_get(wd->as, "elm.drag_button_base", &pos, NULL);
if (pos == 0.0)
evas_object_smart_callback_call(as, SIG_CHANGED, (void *)"left");
evas_object_smart_callback_call(as, SIG_CHANGED, "left");
else if (pos == 1.0)
evas_object_smart_callback_call(as, SIG_CHANGED, (void *)"right");
evas_object_smart_callback_call(as, SIG_CHANGED, "right");
else if (pos >= 0.45 && pos <= 0.55)
evas_object_smart_callback_call(as, SIG_CHANGED, (void *)"center");
evas_object_smart_callback_call(as, SIG_CHANGED, "center");
}
static Eina_Bool