From e697a6ef5c8794e70602e1341b91059a98ffe203 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Wed, 7 Mar 2012 08:01:52 +0000 Subject: [PATCH] warn-- SVN revision: 68888 --- legacy/elementary/src/lib/elm_diskselector.c | 8 ++++---- legacy/elementary/src/lib/elm_diskselector.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/legacy/elementary/src/lib/elm_diskselector.c b/legacy/elementary/src/lib/elm_diskselector.c index 7e80fbd8b2..3ba8954f29 100644 --- a/legacy/elementary/src/lib/elm_diskselector.c +++ b/legacy/elementary/src/lib/elm_diskselector.c @@ -1070,7 +1070,7 @@ elm_diskselector_round_get(const Evas_Object *obj) } EAPI void -elm_diskselector_round_set(Evas_Object * obj, Eina_Bool round) +elm_diskselector_round_set(Evas_Object * obj, Eina_Bool rnd) { Eina_List *elist; Elm_Diskselector_Item *it; @@ -1079,11 +1079,11 @@ elm_diskselector_round_set(Evas_Object * obj, Eina_Bool round) Widget_Data *wd = elm_widget_data_get(obj); if (!wd) return; - if (wd->round == round) + if (wd->round == rnd) return; - wd->round = round; - if (round) + wd->round = rnd; + if (rnd) { wd->r_items = eina_list_clone(wd->items); elm_box_unpack(wd->main_box, wd->left_blank); diff --git a/legacy/elementary/src/lib/elm_diskselector.h b/legacy/elementary/src/lib/elm_diskselector.h index 2522decb34..38d17e0145 100644 --- a/legacy/elementary/src/lib/elm_diskselector.h +++ b/legacy/elementary/src/lib/elm_diskselector.h @@ -57,7 +57,7 @@ EAPI Evas_Object *elm_diskselector_add(Evas_Object *parent); * Enable or disable round mode. * * @param obj The diskselector object. - * @param round @c EINA_TRUE to enable round mode or @c EINA_FALSE to + * @param rnd @c EINA_TRUE to enable round mode or @c EINA_FALSE to * disable it. * * Disabled by default. If round mode is enabled the items list will @@ -68,7 +68,7 @@ EAPI Evas_Object *elm_diskselector_add(Evas_Object *parent); * * @ingroup Diskselector */ -EAPI void elm_diskselector_round_set(Evas_Object *obj, Eina_Bool round); +EAPI void elm_diskselector_round_set(Evas_Object *obj, Eina_Bool rnd); /** * Get a value whether round mode is enabled or not.