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 653244 - Review the padding of ATK classes
Review the padding of ATK classes
Product: atk
Classification: Platform
Component: atk
Other All
: Normal normal
: ---
Assigned To: ATK maintainer(s)
ATK maintainer(s)
Depends on:
Blocks: 638537
Reported: 2011-06-23 15:57 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2021-06-10 11:25 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Joanmarie Diggs (IRC: joanie) 2011-06-23 15:57:32 UTC
(Spun off from bug 648616)

Most of the objects and interfaces have some padding on the class structure.
Some things to think about:
   * It is enough the current number of paddings?

   * Do atk really need the typedef AtkFunction?

     IMHO, it is somewhat silly to define a typedef to a basic type like
gpointer to be used just for the paddings.

    In the same way, when someone find AtkFunction the first thought is that
this is something important and really used.

    Projects like gtk and clutter use directly gpointer.

   * Atk uses the next format:
        AtkFunction pad1;
        AtkFunction pad2;
     Probably inherited from gtk
     But clutter uses this format:
      /* padding for future expansion */
     gpointer _padding_dummy[29];
     Probably cleaner, although this is just a cosmetic change
Comment 1 André Klapper 2011-06-23 22:06:17 UTC
[Mass-reassigning open atk bug reports for better trackability as requested in .
If you have watched the previous assignee of this bug report as a workaround for actually getting notified of changes in atk bugs, you yourself will now have to add atk-maint@gnome.bugs to your watchlist at the bottom of to keep watching atk bug reports in GNOME Bugzilla.
Sorry for the noise: Feel free to filter for this comment in order to mass-delete the triggered bugmail.]
Comment 2 André Klapper 2021-06-10 11:25:42 UTC
GNOME is going to shut down in favor of
As part of that, we are mass-closing older open tickets in
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of atk, then please follow
and create a ticket at

Thank you for your understanding and your help.