SVN revision: 68888
This commit is contained in:
Carsten Haitzler 2012-03-07 08:01:52 +00:00
parent c8622c8da1
commit e697a6ef5c
2 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -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.