summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_spin_button.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-07-31 18:06:43 +0200
committerCedric BAIL <cedric.bail@free.fr>2019-08-01 14:36:53 -0700
commitfd860eb6e80d3e54efc3e25a2861424c1fea6959 (patch)
treefa5feb74e1eb73e902ac05e3e179fcfc8b337382 /src/lib/elementary/efl_ui_spin_button.c
parentbd8fcab8b203940d51f7b4d49636b80da9a41839 (diff)
efl_ui_spin_button: rename circulate to wraparound
ref T8097 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D9461
Diffstat (limited to 'src/lib/elementary/efl_ui_spin_button.c')
-rw-r--r--src/lib/elementary/efl_ui_spin_button.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/elementary/efl_ui_spin_button.c b/src/lib/elementary/efl_ui_spin_button.c
index 553c363..cfd13cf 100644
--- a/src/lib/elementary/efl_ui_spin_button.c
+++ b/src/lib/elementary/efl_ui_spin_button.c
@@ -137,7 +137,7 @@ _value_set(Evas_Object *obj,
137 Efl_Ui_Spin_Data *pd = efl_data_scope_get(obj, EFL_UI_SPIN_CLASS); 137 Efl_Ui_Spin_Data *pd = efl_data_scope_get(obj, EFL_UI_SPIN_CLASS);
138 Eina_Future *f; 138 Eina_Future *f;
139 139
140 if (sd->circulate) 140 if (sd->wraparound)
141 { 141 {
142 if (new_val < pd->val_min) 142 if (new_val < pd->val_min)
143 new_val = pd->val_max; 143 new_val = pd->val_max;
@@ -732,15 +732,15 @@ _efl_ui_spin_button_editable_get(const Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_D
732} 732}
733 733
734EOLIAN static void 734EOLIAN static void
735_efl_ui_spin_button_circulate_set(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd, Eina_Bool circulate) 735_efl_ui_spin_button_wraparound_set(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd, Eina_Bool wraparound)
736{ 736{
737 sd->circulate = circulate; 737 sd->wraparound = wraparound;
738} 738}
739 739
740EOLIAN static Eina_Bool 740EOLIAN static Eina_Bool
741_efl_ui_spin_button_circulate_get(const Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd) 741_efl_ui_spin_button_wraparound_get(const Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd)
742{ 742{
743 return sd->circulate; 743 return sd->wraparound;
744} 744}
745 745
746EOLIAN static const Efl_Access_Action_Data * 746EOLIAN static const Efl_Access_Action_Data *