summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_spin_button.c
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-04-03 13:27:30 +0200
committerCedric Bail <cedric@osg.samsung.com>2018-04-24 09:03:24 -0700
commit9dcc31ed4a987001101177341a2e1b47a3806d6b (patch)
treef76d95e3025db2ee1bb7681937d23b385ad3a31d /src/lib/elementary/efl_ui_spin_button.c
parent65ee277a6674dcad9c938b8b0ac9b56520105fc4 (diff)
Efl.Access.Object (from Efl.Access)
Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/elementary/efl_ui_spin_button.c')
-rw-r--r--src/lib/elementary/efl_ui_spin_button.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elementary/efl_ui_spin_button.c b/src/lib/elementary/efl_ui_spin_button.c
index 21b08a3..fe11db4 100644
--- a/src/lib/elementary/efl_ui_spin_button.c
+++ b/src/lib/elementary/efl_ui_spin_button.c
@@ -2,7 +2,7 @@
2# include "elementary_config.h" 2# include "elementary_config.h"
3#endif 3#endif
4 4
5#define EFL_ACCESS_PROTECTED 5#define EFL_ACCESS_OBJECT_PROTECTED
6#define EFL_ACCESS_VALUE_PROTECTED 6#define EFL_ACCESS_VALUE_PROTECTED
7#define EFL_ACCESS_WIDGET_ACTION_PROTECTED 7#define EFL_ACCESS_WIDGET_ACTION_PROTECTED
8#define EFL_UI_FOCUS_COMPOSITION_PROTECTED 8#define EFL_UI_FOCUS_COMPOSITION_PROTECTED
@@ -792,7 +792,7 @@ _efl_ui_spin_button_efl_object_constructor(Eo *obj, Efl_Ui_Spin_Button_Data *sd)
792 792
793 elm_widget_can_focus_set(obj, EINA_TRUE); 793 elm_widget_can_focus_set(obj, EINA_TRUE);
794 794
795 efl_access_role_set(obj, EFL_ACCESS_ROLE_SPIN_BUTTON); 795 efl_access_object_role_set(obj, EFL_ACCESS_ROLE_SPIN_BUTTON);
796 796
797 return obj; 797 return obj;
798} 798}
@@ -883,10 +883,10 @@ _efl_ui_spin_button_efl_access_value_increment_get(const Eo *obj EINA_UNUSED, Ef
883} 883}
884 884
885EOLIAN static const char* 885EOLIAN static const char*
886_efl_ui_spin_button_efl_access_i18n_name_get(const Eo *obj, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED) 886_efl_ui_spin_button_efl_access_object_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_object_i18n_name_get(efl_super(obj, EFL_UI_SPIN_BUTTON_CLASS));
890 if (name) return name; 890 if (name) return name;
891 const char *ret = elm_layout_text_get(obj, "elm.text"); 891 const char *ret = elm_layout_text_get(obj, "elm.text");
892 return ret; 892 return ret;