GNOME Bugzilla – Bug 654174
Implementation detail: roles_offset at atkobject are not really developer friendly
Last modified: 2013-12-09 17:15:46 UTC
Right now, the textual names of the roles at ATK are maintained on a unidimensional array, so in order to get any individual name you use a auxiliar array with the offsets. This is not really clear, confusing, and error prone, as when you want to add a new role you need to modify too many things, and compute the proper offset. It would be good to investigate options more developer friendly, like a two dimensional array or something like that.
*** This bug has been marked as a duplicate of bug 705290 ***