summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_spin_button.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-04-17 20:09:44 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-04-17 20:31:55 +0200
commitfcae7cab276c2d3b19bb913ad908b67b7dd33089 (patch)
tree7008ebc815184309ccc284c9e7e1b05abbb55028 /src/lib/elementary/efl_ui_spin_button.c
parente50b43d02fdb0b608f2c99014357c95a1a746c43 (diff)
eolian gen: enable constness generation on property getter impls
This changes a lot of things all across the EFL. Previously, methods tagged @const had both their external prototype and internal impl generated with const on object, while property getters only had const on the external API. This is now changed and it all has const everywhere. Ref T6859.
Diffstat (limited to 'src/lib/elementary/efl_ui_spin_button.c')
-rw-r--r--src/lib/elementary/efl_ui_spin_button.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/elementary/efl_ui_spin_button.c b/src/lib/elementary/efl_ui_spin_button.c
index 6414417..21b08a3 100644
--- a/src/lib/elementary/efl_ui_spin_button.c
+++ b/src/lib/elementary/efl_ui_spin_button.c
@@ -812,7 +812,7 @@ _efl_ui_spin_button_editable_set(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *s
812} 812}
813 813
814EOLIAN static Eina_Bool 814EOLIAN static Eina_Bool
815_efl_ui_spin_button_editable_get(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd) 815_efl_ui_spin_button_editable_get(const Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd)
816{ 816{
817 return sd->editable; 817 return sd->editable;
818} 818}
@@ -824,13 +824,13 @@ _efl_ui_spin_button_circulate_set(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *
824} 824}
825 825
826EOLIAN static Eina_Bool 826EOLIAN static Eina_Bool
827_efl_ui_spin_button_circulate_get(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd) 827_efl_ui_spin_button_circulate_get(const Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd)
828{ 828{
829 return sd->circulate; 829 return sd->circulate;
830} 830}
831 831
832EOLIAN static const Efl_Access_Action_Data * 832EOLIAN static const Efl_Access_Action_Data *
833_efl_ui_spin_button_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED) 833_efl_ui_spin_button_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED)
834{ 834{
835 static Efl_Access_Action_Data atspi_actions[] = { 835 static Efl_Access_Action_Data atspi_actions[] = {
836 { "toggle", "toggle", NULL, _key_action_toggle}, 836 { "toggle", "toggle", NULL, _key_action_toggle},
@@ -842,7 +842,7 @@ _efl_ui_spin_button_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED
842// A11Y Accessibility 842// A11Y Accessibility
843 843
844EOLIAN static void 844EOLIAN static void
845_efl_ui_spin_button_efl_access_value_value_and_text_get(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED, double *value, const char **text) 845_efl_ui_spin_button_efl_access_value_value_and_text_get(const Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED, double *value, const char **text)
846{ 846{
847 Efl_Ui_Spin_Data *pd = efl_data_scope_get(obj, EFL_UI_SPIN_CLASS); 847 Efl_Ui_Spin_Data *pd = efl_data_scope_get(obj, EFL_UI_SPIN_CLASS);
848 848
@@ -865,7 +865,7 @@ _efl_ui_spin_button_efl_access_value_value_and_text_set(Eo *obj, Efl_Ui_Spin_But
865} 865}
866 866
867EOLIAN static void 867EOLIAN static void
868_efl_ui_spin_button_efl_access_value_range_get(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED, double *lower, double *upper, const char **descr) 868_efl_ui_spin_button_efl_access_value_range_get(const Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED, double *lower, double *upper, const char **descr)
869{ 869{
870 Efl_Ui_Spin_Data *pd = efl_data_scope_get(obj, EFL_UI_SPIN_CLASS); 870 Efl_Ui_Spin_Data *pd = efl_data_scope_get(obj, EFL_UI_SPIN_CLASS);
871 871
@@ -875,7 +875,7 @@ _efl_ui_spin_button_efl_access_value_range_get(Eo *obj EINA_UNUSED, Efl_Ui_Spin_
875} 875}
876 876
877EOLIAN static double 877EOLIAN static double
878_efl_ui_spin_button_efl_access_value_increment_get(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED) 878_efl_ui_spin_button_efl_access_value_increment_get(const Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED)
879{ 879{
880 Efl_Ui_Spin_Data *pd = efl_data_scope_get(obj, EFL_UI_SPIN_CLASS); 880 Efl_Ui_Spin_Data *pd = efl_data_scope_get(obj, EFL_UI_SPIN_CLASS);
881 881
@@ -883,7 +883,7 @@ _efl_ui_spin_button_efl_access_value_increment_get(Eo *obj EINA_UNUSED, Efl_Ui_S
883} 883}
884 884
885EOLIAN static const char* 885EOLIAN static const char*
886_efl_ui_spin_button_efl_access_i18n_name_get(Eo *obj, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED) 886_efl_ui_spin_button_efl_access_i18n_name_get(const Eo *obj, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED)
887{ 887{
888 const char *name; 888 const char *name;
889 name = efl_access_i18n_name_get(efl_super(obj, EFL_UI_SPIN_BUTTON_CLASS)); 889 name = efl_access_i18n_name_get(efl_super(obj, EFL_UI_SPIN_BUTTON_CLASS));