forked from enlightenment/efl
elm scroller: Fixed wrong return value.
SVN revision: 64078
This commit is contained in:
parent
4f1589ca02
commit
4c31c1a1a1
|
@ -722,9 +722,9 @@ elm_scroller_propagate_events_get(const Evas_Object *obj)
|
||||||
EAPI void
|
EAPI void
|
||||||
elm_scroller_gravity_set(Evas_Object *obj, double x, double y)
|
elm_scroller_gravity_set(Evas_Object *obj, double x, double y)
|
||||||
{
|
{
|
||||||
ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
|
ELM_CHECK_WIDTYPE(obj, widtype);
|
||||||
Widget_Data *wd = elm_widget_data_get(obj);
|
Widget_Data *wd = elm_widget_data_get(obj);
|
||||||
if (!wd) return EINA_FALSE;
|
if (!wd) return;
|
||||||
|
|
||||||
elm_smart_scroller_gravity_set(wd->scr, x, y);
|
elm_smart_scroller_gravity_set(wd->scr, x, y);
|
||||||
}
|
}
|
||||||
|
@ -732,9 +732,9 @@ elm_scroller_gravity_set(Evas_Object *obj, double x, double y)
|
||||||
EAPI void
|
EAPI void
|
||||||
elm_scroller_gravity_get(Evas_Object *obj, double *x, double *y)
|
elm_scroller_gravity_get(Evas_Object *obj, double *x, double *y)
|
||||||
{
|
{
|
||||||
ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
|
ELM_CHECK_WIDTYPE(obj, widtype);
|
||||||
Widget_Data *wd = elm_widget_data_get(obj);
|
Widget_Data *wd = elm_widget_data_get(obj);
|
||||||
if (!wd) return EINA_FALSE;
|
if (!wd) return;
|
||||||
|
|
||||||
elm_smart_scroller_gravity_get(wd->scr, x, y);
|
elm_smart_scroller_gravity_get(wd->scr, x, y);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue