After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 654174 - Implementation detail: roles_offset at atkobject are not really developer friendly
Implementation detail: roles_offset at atkobject are not really developer fri...
Status: RESOLVED DUPLICATE of bug 705290
Product: atk
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: ATK maintainer(s)
ATK maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-07-07 16:29 UTC by Alejandro Piñeiro Iglesias (IRC: infapi00)
Modified: 2013-12-09 17:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alejandro Piñeiro Iglesias (IRC: infapi00) 2011-07-07 16:29:02 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.
Comment 1 Alejandro Piñeiro Iglesias (IRC: infapi00) 2013-12-09 17:15:46 UTC

*** This bug has been marked as a duplicate of bug 705290 ***