summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2015-10-01 17:24:42 +0200
committerLukasz Stanislawski <l.stanislaws@samsung.com>2015-10-02 11:32:04 +0200
commit7defa24fd074bd8cd35318c7707acf4fbce69c44 (patch)
treee594261d3738bec253731be61013147d41e3a5b3
parentbc235cc1f9cad90d4f3efe455b42810b84c1c16f (diff)
atspi: encapsulate common behaviour in atspi mixin class.
This patch moves some duplicated implementation from elm_widget and elm_widget_item classes into atspi base mixin. It allows to better share code and reduce maintainability. Change-Id: I8d264661e7ffade7da72299f29075a536d71eaa3
-rw-r--r--src/lib/elm_interface_atspi_accessible.c84
-rw-r--r--src/lib/elm_interface_atspi_accessible.eo8
-rw-r--r--src/lib/elm_widget.c78
-rw-r--r--src/lib/elm_widget.eo5
-rw-r--r--src/lib/elm_widget.h8
-rw-r--r--src/lib/elm_widget_item.eo4
6 files changed, 58 insertions, 129 deletions
diff --git a/src/lib/elm_interface_atspi_accessible.c b/src/lib/elm_interface_atspi_accessible.c
index 352400895..5bfb80e64 100644
--- a/src/lib/elm_interface_atspi_accessible.c
+++ b/src/lib/elm_interface_atspi_accessible.c
@@ -121,10 +121,21 @@ struct _Elm_Atspi_Event_Handler
121 void *data; 121 void *data;
122}; 122};
123 123
124struct _Elm_Interface_Atspi_Accessible_Data
125{
126 Elm_Atspi_Role role;
127 const char *name;
128 const char *description;
129 Elm_Interface_Atspi_Accessible *parent;
130};
131
132typedef struct _Elm_Interface_Atspi_Accessible_Data Elm_Interface_Atspi_Accessible_Data;
133
134
124static Eina_List *global_callbacks; 135static Eina_List *global_callbacks;
125 136
126EOLIAN static int 137EOLIAN static int
127_elm_interface_atspi_accessible_index_in_parent_get(Eo *obj, void *pd EINA_UNUSED) 138_elm_interface_atspi_accessible_index_in_parent_get(Eo *obj, Elm_Interface_Atspi_Accessible_Data *pd EINA_UNUSED)
128{ 139{
129 Eina_List *l, *children = NULL; 140 Eina_List *l, *children = NULL;
130 Eo *chld, *parent = NULL; 141 Eo *chld, *parent = NULL;
@@ -151,27 +162,24 @@ _elm_interface_atspi_accessible_index_in_parent_get(Eo *obj, void *pd EINA_UNUSE
151 return ret; 162 return ret;
152} 163}
153 164
154EOLIAN static Eo * 165EOLIAN static Elm_Interface_Atspi_Accessible *
155_elm_interface_atspi_accessible_parent_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) 166_elm_interface_atspi_accessible_parent_get(Eo *obj EINA_UNUSED, Elm_Interface_Atspi_Accessible_Data *pd)
156{ 167{
157 Eo *parent = NULL; 168 return pd->parent;
158
159 /* By default using Eo_Base object hierarchy */
160 eo_do(obj, parent = eo_parent_get());
161 if (!parent) return NULL;
162
163 return eo_isa(parent, ELM_INTERFACE_ATSPI_ACCESSIBLE_MIXIN) ? parent : NULL;
164} 169}
165 170
166EOLIAN static void 171EOLIAN static void
167_elm_interface_atspi_accessible_parent_set(Eo *obj, void *priv EINA_UNUSED, Eo *new_parent EINA_UNUSED) 172_elm_interface_atspi_accessible_parent_set(Eo *obj, Elm_Interface_Atspi_Accessible_Data *pd, Elm_Interface_Atspi_Accessible *new_parent)
168{ 173{
169 WRN("The %s object does not implement the \"accessible_parent_set\" function.", 174 if (pd->parent != new_parent)
170 eo_class_name_get(eo_class_get(obj))); 175 {
176 pd->parent = new_parent;
177 elm_interface_atspi_accessible_parent_changed_signal_emit(obj);
178 }
171} 179}
172 180
173EOLIAN Eina_List* 181EOLIAN Eina_List*
174_elm_interface_atspi_accessible_attributes_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) 182_elm_interface_atspi_accessible_attributes_get(Eo *obj EINA_UNUSED, Elm_Interface_Atspi_Accessible_Data *pd EINA_UNUSED)
175{ 183{
176 WRN("The %s object does not implement the \"accessible_attributes_set\" function.", 184 WRN("The %s object does not implement the \"accessible_attributes_set\" function.",
177 eo_class_name_get(eo_class_get(obj))); 185 eo_class_name_get(eo_class_get(obj)));
@@ -179,20 +187,23 @@ _elm_interface_atspi_accessible_attributes_get(Eo *obj EINA_UNUSED, void *pd EIN
179} 187}
180 188
181EOLIAN static Elm_Atspi_Role 189EOLIAN static Elm_Atspi_Role
182_elm_interface_atspi_accessible_role_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) 190_elm_interface_atspi_accessible_role_get(Eo *obj EINA_UNUSED, Elm_Interface_Atspi_Accessible_Data *pd EINA_UNUSED)
183{ 191{
184 return ELM_ATSPI_ROLE_UNKNOWN; 192 return pd->role;
185} 193}
186 194
187EOLIAN static void 195EOLIAN static void
188_elm_interface_atspi_accessible_role_set(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED, Elm_Atspi_Role role EINA_UNUSED) 196_elm_interface_atspi_accessible_role_set(Eo *obj, Elm_Interface_Atspi_Accessible_Data *pd EINA_UNUSED, Elm_Atspi_Role role)
189{ 197{
190 WRN("The %s object does not implement the \"accessible_role_set\" function.", 198 if (pd->role != role)
191 eo_class_name_get(eo_class_get(obj))); 199 {
200 pd->role = role;
201 elm_interface_atspi_accessible_role_changed_signal_emit(obj);
202 }
192} 203}
193 204
194EOLIAN const char * 205EOLIAN const char *
195_elm_interface_atspi_accessible_role_name_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) 206_elm_interface_atspi_accessible_role_name_get(Eo *obj EINA_UNUSED, Elm_Interface_Atspi_Accessible_Data *pd EINA_UNUSED)
196{ 207{
197 Elm_Atspi_Role role; 208 Elm_Atspi_Role role;
198 209
@@ -202,36 +213,30 @@ _elm_interface_atspi_accessible_role_name_get(Eo *obj EINA_UNUSED, void *pd EINA
202} 213}
203 214
204EOLIAN char * 215EOLIAN char *
205_elm_interface_atspi_accessible_name_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) 216_elm_interface_atspi_accessible_name_get(Eo *obj EINA_UNUSED, Elm_Interface_Atspi_Accessible_Data *pd)
206{ 217{
207 WRN("The %s object does not implement the \"accessible_name_get\" function.", 218 return pd->name ? strdup(pd->name) : NULL;
208 eo_class_name_get(eo_class_get(obj)));
209 return NULL;
210} 219}
211 220
212EOLIAN static void 221EOLIAN static void
213_elm_interface_atspi_accessible_name_set(Eo *obj, void *pd EINA_UNUSED, char *val EINA_UNUSED) 222_elm_interface_atspi_accessible_name_set(Eo *obj EINA_UNUSED, Elm_Interface_Atspi_Accessible_Data *pd, char *val)
214{ 223{
215 WRN("The %s object does not implement the \"accessible_name_set\" function.", 224 eina_stringshare_replace(&pd->name, val);
216 eo_class_name_get(eo_class_get(obj)));
217} 225}
218 226
219const char * _elm_interface_atspi_accessible_description_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) 227const char * _elm_interface_atspi_accessible_description_get(Eo *obj EINA_UNUSED, Elm_Interface_Atspi_Accessible_Data *pd)
220{ 228{
221 WRN("The %s object does not implement the \"accessible_description_get\" function.", 229 return pd->description;
222 eo_class_name_get(eo_class_get(obj)));
223 return NULL;
224} 230}
225 231
226EOLIAN static void 232EOLIAN static void
227_elm_interface_atspi_accessible_description_set(Eo *obj, void *pd EINA_UNUSED, const char *val EINA_UNUSED) 233_elm_interface_atspi_accessible_description_set(Eo *obj EINA_UNUSED, Elm_Interface_Atspi_Accessible_Data *pd, const char *val)
228{ 234{
229 WRN("The %s object does not implement the \"accessible_description_set\" function.", 235 eina_stringshare_replace(&pd->description, val);
230 eo_class_name_get(eo_class_get(obj)));
231} 236}
232 237
233EOLIAN static const char * 238EOLIAN static const char *
234_elm_interface_atspi_accessible_localized_role_name_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) 239_elm_interface_atspi_accessible_localized_role_name_get(Eo *obj EINA_UNUSED, Elm_Interface_Atspi_Accessible_Data *pd EINA_UNUSED)
235{ 240{
236 const char *ret = NULL; 241 const char *ret = NULL;
237 eo_do(obj, ret = elm_interface_atspi_accessible_role_name_get()); 242 eo_do(obj, ret = elm_interface_atspi_accessible_role_name_get());
@@ -242,7 +247,7 @@ _elm_interface_atspi_accessible_localized_role_name_get(Eo *obj EINA_UNUSED, voi
242} 247}
243 248
244EOLIAN static Eina_List * 249EOLIAN static Eina_List *
245_elm_interface_atspi_accessible_children_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) 250_elm_interface_atspi_accessible_children_get(Eo *obj EINA_UNUSED, Elm_Interface_Atspi_Accessible_Data *pd EINA_UNUSED)
246{ 251{
247 Eina_List *children = NULL; 252 Eina_List *children = NULL;
248 Eina_Iterator *iter = NULL; 253 Eina_Iterator *iter = NULL;
@@ -263,14 +268,13 @@ _elm_interface_atspi_accessible_children_get(Eo *obj EINA_UNUSED, void *pd EINA_
263} 268}
264 269
265EOLIAN static Elm_Atspi_State_Set 270EOLIAN static Elm_Atspi_State_Set
266_elm_interface_atspi_accessible_state_set_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) 271_elm_interface_atspi_accessible_state_set_get(Eo *obj EINA_UNUSED, Elm_Interface_Atspi_Accessible_Data *pd EINA_UNUSED)
267{ 272{
268 Elm_Atspi_State_Set ret = 0; 273 return 0;
269 return ret;
270} 274}
271 275
272EOLIAN Eina_List* 276EOLIAN Eina_List*
273_elm_interface_atspi_accessible_relation_set_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) 277_elm_interface_atspi_accessible_relation_set_get(Eo *obj EINA_UNUSED, Elm_Interface_Atspi_Accessible_Data *pd EINA_UNUSED)
274{ 278{
275 WRN("The %s object does not implement the \"accessible_relation_set\" function.", 279 WRN("The %s object does not implement the \"accessible_relation_set\" function.",
276 eo_class_name_get(eo_class_get(obj))); 280 eo_class_name_get(eo_class_get(obj)));
diff --git a/src/lib/elm_interface_atspi_accessible.eo b/src/lib/elm_interface_atspi_accessible.eo
index 3672b02b7..98e02ad9a 100644
--- a/src/lib/elm_interface_atspi_accessible.eo
+++ b/src/lib/elm_interface_atspi_accessible.eo
@@ -2,7 +2,7 @@ mixin Elm_Interface_Atspi_Accessible ()
2{ 2{
3 legacy_prefix: null; 3 legacy_prefix: null;
4 eo_prefix: elm_interface_atspi_accessible; 4 eo_prefix: elm_interface_atspi_accessible;
5 data: null; 5 data: Elm_Interface_Atspi_Accessible_Data;
6 methods { 6 methods {
7 @property localized_role_name @protected { 7 @property localized_role_name @protected {
8 get { 8 get {
@@ -45,7 +45,7 @@ mixin Elm_Interface_Atspi_Accessible ()
45 [[Gets widget's accessible children.]] 45 [[Gets widget's accessible children.]]
46 } 46 }
47 values { 47 values {
48 children: free(own(list<Eo *> *), eina_list_free); 48 children: free(own(list<Elm_Interface_Atspi_Accessible *> *), eina_list_free);
49 } 49 }
50 } 50 }
51 @property role_name @protected { 51 @property role_name @protected {
@@ -91,7 +91,7 @@ mixin Elm_Interface_Atspi_Accessible ()
91 [[Sets widget accessible parent.]] 91 [[Sets widget accessible parent.]]
92 } 92 }
93 values { 93 values {
94 parent: Eo *; 94 parent: Elm_Interface_Atspi_Accessible *;
95 } 95 }
96 } 96 }
97 @property state_set @protected { 97 @property state_set @protected {
@@ -118,7 +118,7 @@ mixin Elm_Interface_Atspi_Accessible ()
118 } 118 }
119 event_emit @class @protected { 119 event_emit @class @protected {
120 params { 120 params {
121 @in accessible: Eo*; [[Accessibility object.]] 121 @in accessible: Elm_Interface_Atspi_Accessible *; [[Accessibility object.]]
122 @in event: const(Eo_Event_Description)*; [[Accessibility event type.]] 122 @in event: const(Eo_Event_Description)*; [[Accessibility event type.]]
123 @in event_info: void*; [[Accessibility event details.]] 123 @in event_info: void*; [[Accessibility event details.]]
124 } 124 }
diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index 6bc1ccbe3..a8f5174af 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -4431,8 +4431,8 @@ _elm_widget_item_eo_base_destructor(Eo *eo_item, Elm_Widget_Item_Data *item)
4431 } 4431 }
4432 eina_hash_free(item->labels); 4432 eina_hash_free(item->labels);
4433 4433
4434 if (item->description) 4434 eo_do(eo_item, elm_interface_atspi_accessible_description_set(NULL));
4435 eina_stringshare_del(item->description); 4435 eo_do(eo_item, elm_interface_atspi_accessible_name_set(NULL));
4436 4436
4437 if (_elm_config->atspi_mode) 4437 if (_elm_config->atspi_mode)
4438 elm_interface_atspi_accessible_children_changed_del_signal_emit(item->widget, eo_item); 4438 elm_interface_atspi_accessible_children_changed_del_signal_emit(item->widget, eo_item);
@@ -4561,34 +4561,6 @@ _elm_widget_item_widget_get(const Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data
4561 return item->widget; 4561 return item->widget;
4562} 4562}
4563 4563
4564EOLIAN static const char*
4565_elm_widget_item_elm_interface_atspi_accessible_description_get(Eo *eo_item EINA_UNUSED,
4566 Elm_Widget_Item_Data *item)
4567{
4568 return item->description;
4569}
4570
4571EOLIAN static void
4572_elm_widget_item_elm_interface_atspi_accessible_description_set(Eo *eo_item EINA_UNUSED,
4573 Elm_Widget_Item_Data *item,
4574 const char *descr)
4575{
4576 eina_stringshare_replace(&item->description, descr);
4577}
4578
4579EOLIAN static Elm_Atspi_Role
4580_elm_widget_item_elm_interface_atspi_accessible_role_get(Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item)
4581{
4582 return item->role;
4583}
4584
4585EOLIAN static void
4586_elm_widget_item_elm_interface_atspi_accessible_role_set(Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item,
4587 Elm_Atspi_Role role)
4588{
4589 item->role = role;
4590}
4591
4592EAPI Eina_Bool 4564EAPI Eina_Bool
4593_elm_widget_onscreen_is(Evas_Object *widget) 4565_elm_widget_onscreen_is(Evas_Object *widget)
4594{ 4566{
@@ -5713,7 +5685,7 @@ elm_widget_tree_dot_dump(const Evas_Object *top,
5713} 5685}
5714 5686
5715EOLIAN static Eo * 5687EOLIAN static Eo *
5716_elm_widget_eo_base_constructor(Eo *obj, Elm_Widget_Smart_Data *sd) 5688_elm_widget_eo_base_constructor(Eo *obj, Elm_Widget_Smart_Data *sd EINA_UNUSED)
5717{ 5689{
5718 Eo *parent = NULL; 5690 Eo *parent = NULL;
5719 5691
@@ -5726,15 +5698,15 @@ _elm_widget_eo_base_constructor(Eo *obj, Elm_Widget_Smart_Data *sd)
5726 eo_do(obj, elm_obj_widget_parent_set(parent)); 5698 eo_do(obj, elm_obj_widget_parent_set(parent));
5727 sd->on_create = EINA_FALSE; 5699 sd->on_create = EINA_FALSE;
5728 5700
5729 sd->role = ELM_ATSPI_ROLE_UNKNOWN; 5701 eo_do(obj, elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_UNKNOWN));
5730 return obj; 5702 return obj;
5731} 5703}
5732 5704
5733EOLIAN static void 5705EOLIAN static void
5734_elm_widget_eo_base_destructor(Eo *obj, Elm_Widget_Smart_Data *sd) 5706_elm_widget_eo_base_destructor(Eo *obj, Elm_Widget_Smart_Data *sd EINA_UNUSED)
5735{ 5707{
5736 if (sd->description) eina_stringshare_del(sd->description); 5708 eo_do(obj, elm_interface_atspi_accessible_description_set(NULL));
5737 5709 eo_do(obj, elm_interface_atspi_accessible_name_set(NULL));
5738 elm_interface_atspi_accessible_removed(obj); 5710 elm_interface_atspi_accessible_removed(obj);
5739 5711
5740 eo_do_super(obj, ELM_WIDGET_CLASS, eo_destructor()); 5712 eo_do_super(obj, ELM_WIDGET_CLASS, eo_destructor());
@@ -5836,30 +5808,6 @@ _elm_widget_elm_interface_atspi_accessible_name_get(Eo *obj EINA_UNUSED, Elm_Wid
5836 return _elm_util_mkup_to_text(ret); 5808 return _elm_util_mkup_to_text(ret);
5837} 5809}
5838 5810
5839EOLIAN static const char*
5840_elm_widget_elm_interface_atspi_accessible_description_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *_pd)
5841{
5842 return _pd->description;
5843}
5844
5845EOLIAN static void
5846_elm_widget_elm_interface_atspi_accessible_description_set(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *_pd, const char *descr)
5847{
5848 eina_stringshare_replace(&_pd->description, descr);
5849}
5850
5851EOLIAN static Elm_Atspi_Role
5852_elm_widget_elm_interface_atspi_accessible_role_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd EINA_UNUSED)
5853{
5854 return pd->role;
5855}
5856
5857EOLIAN static void
5858_elm_widget_elm_interface_atspi_accessible_role_set(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd, Elm_Atspi_Role role)
5859{
5860 pd->role = role;
5861}
5862
5863EOLIAN static Eina_List* 5811EOLIAN static Eina_List*
5864_elm_widget_elm_interface_atspi_accessible_children_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd EINA_UNUSED) 5812_elm_widget_elm_interface_atspi_accessible_children_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd EINA_UNUSED)
5865{ 5813{
@@ -5882,16 +5830,10 @@ _elm_widget_elm_interface_atspi_accessible_children_get(Eo *obj EINA_UNUSED, Elm
5882EOLIAN static Eo* 5830EOLIAN static Eo*
5883_elm_widget_elm_interface_atspi_accessible_parent_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd) 5831_elm_widget_elm_interface_atspi_accessible_parent_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd)
5884{ 5832{
5885 if (pd->atspi_custom_parent) 5833 Eo *ret;
5886 return pd->atspi_custom_parent; 5834 eo_do_super(obj, ELM_WIDGET_CLASS, ret = elm_interface_atspi_accessible_parent_get());
5887 else
5888 return pd->parent_obj;
5889}
5890 5835
5891EOLIAN static void 5836 return ret ? ret : pd->parent_obj;
5892_elm_widget_elm_interface_atspi_accessible_parent_set(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd, Eo *parent)
5893{
5894 pd->atspi_custom_parent = parent;
5895} 5837}
5896 5838
5897EOLIAN static Elm_Atspi_State_Set 5839EOLIAN static Elm_Atspi_State_Set
diff --git a/src/lib/elm_widget.eo b/src/lib/elm_widget.eo
index f171e90e2..f53d2c478 100644
--- a/src/lib/elm_widget.eo
+++ b/src/lib/elm_widget.eo
@@ -767,14 +767,9 @@ abstract Elm.Widget (Evas.Object_Smart, Elm_Interface_Atspi_Accessible, Elm_Inte
767 @virtual .focus_next; 767 @virtual .focus_next;
768 @virtual .parent_widget.get; 768 @virtual .parent_widget.get;
769 Elm_Interface_Atspi_Accessible.name.get; 769 Elm_Interface_Atspi_Accessible.name.get;
770 Elm_Interface_Atspi_Accessible.description.get;
771 Elm_Interface_Atspi_Accessible.description.set;
772 Elm_Interface_Atspi_Accessible.role.get;
773 Elm_Interface_Atspi_Accessible.role.set;
774 Elm_Interface_Atspi_Accessible.state_set.get; 770 Elm_Interface_Atspi_Accessible.state_set.get;
775 Elm_Interface_Atspi_Accessible.children.get; 771 Elm_Interface_Atspi_Accessible.children.get;
776 Elm_Interface_Atspi_Accessible.parent.get; 772 Elm_Interface_Atspi_Accessible.parent.get;
777 Elm_Interface_Atspi_Accessible.parent.set;
778 Elm_Interface_Atspi_Accessible.attributes.get; 773 Elm_Interface_Atspi_Accessible.attributes.get;
779 Elm_Interface_Atspi_Accessible.relation_set.get; 774 Elm_Interface_Atspi_Accessible.relation_set.get;
780 Elm_Interface_Atspi_Component.focus_grab; 775 Elm_Interface_Atspi_Component.focus_grab;
diff --git a/src/lib/elm_widget.h b/src/lib/elm_widget.h
index 77c7059f2..9f570a92d 100644
--- a/src/lib/elm_widget.h
+++ b/src/lib/elm_widget.h
@@ -411,10 +411,6 @@ typedef struct _Elm_Widget_Smart_Data
411 Eina_List *focus_chain; 411 Eina_List *focus_chain;
412 Eina_List *event_cb; 412 Eina_List *event_cb;
413 413
414 int role; /**< Accessibility role */
415 const char *description; /**< Accessibility description */
416 Eo *atspi_custom_parent; /**< Accessibility parent if different then parent_obj */
417
418 /* this is a hook to be set on-the-fly on widgets. this is code 414 /* this is a hook to be set on-the-fly on widgets. this is code
419 * handling the request of showing a specific region from an inner 415 * handling the request of showing a specific region from an inner
420 * widget (mainly issued by entries, on cursor moving) */ 416 * widget (mainly issued by entries, on cursor moving) */
@@ -625,10 +621,6 @@ struct _Elm_Widget_Item_Data
625 Eina_Hash *labels; 621 Eina_Hash *labels;
626 Evas_Object *track_obj; 622 Evas_Object *track_obj;
627 623
628 /**< A11Y info */
629 const char *description;
630 int role;
631
632 Eina_Bool disabled : 1; 624 Eina_Bool disabled : 1;
633 Eina_Bool on_deletion : 1; 625 Eina_Bool on_deletion : 1;
634 Eina_Bool on_translate : 1; 626 Eina_Bool on_translate : 1;
diff --git a/src/lib/elm_widget_item.eo b/src/lib/elm_widget_item.eo
index 48f4e44eb..9953bc8d9 100644
--- a/src/lib/elm_widget_item.eo
+++ b/src/lib/elm_widget_item.eo
@@ -529,10 +529,6 @@ class Elm.Widget_Item(Eo.Base, Elm_Interface_Atspi_Accessible,
529 implements { 529 implements {
530 Eo.Base.constructor; 530 Eo.Base.constructor;
531 Eo.Base.destructor; 531 Eo.Base.destructor;
532 Elm_Interface_Atspi_Accessible.description.get;
533 Elm_Interface_Atspi_Accessible.description.set;
534 Elm_Interface_Atspi_Accessible.role.get;
535 Elm_Interface_Atspi_Accessible.role.set;
536 Elm_Interface_Atspi_Accessible.state_set.get; 532 Elm_Interface_Atspi_Accessible.state_set.get;
537 Elm_Interface_Atspi_Accessible.parent.get; 533 Elm_Interface_Atspi_Accessible.parent.get;
538 Elm_Interface_Atspi_Component.extents.get; 534 Elm_Interface_Atspi_Component.extents.get;