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 377382 - AtkObjectFactory is language binding unfriendly
AtkObjectFactory is language binding unfriendly
Status: RESOLVED DUPLICATE of bug 551680
Product: atk
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: ATK maintainer(s)
ATK maintainer(s)
Depends on:
Blocks: 377253
 
 
Reported: 2006-11-20 13:11 UTC by Johan (not receiving bugmail) Dahlin
Modified: 2011-08-31 09:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.44 KB, patch)
2006-11-20 13:12 UTC, Johan (not receiving bugmail) Dahlin
none Details | Review
v2: Add factory for create_accessible aswell (2.11 KB, patch)
2006-11-20 13:47 UTC, Johan (not receiving bugmail) Dahlin
none Details | Review

Description Johan (not receiving bugmail) Dahlin 2006-11-20 13:11:22 UTC
AtkObjectFactory is language binding unfriendly.
The vtable functions are not possible to implement from a dynamic language like python since you don't have a reference to the object factory itself.

This is especially troublesome for the get_accessible_type method.
Comment 1 Johan (not receiving bugmail) Dahlin 2006-11-20 13:12:44 UTC
Created attachment 76912 [details] [review]
patch

Something like this would solve the problem for get_type.
Ideally something similar should be done for create_accessible as well.
Comment 2 Johan (not receiving bugmail) Dahlin 2006-11-20 13:47:26 UTC
Created attachment 76914 [details] [review]
v2: Add factory for create_accessible aswell
Comment 3 George Kraft IV 2006-11-29 18:20:27 UTC
Please be sure to use symbol versioning for binary compatibility.   Both ABIs should exist for a while.
Comment 4 Alejandro Piñeiro Iglesias (IRC: infapi00) 2011-01-02 00:16:50 UTC
This seems a duplicate of bug 551680.

Although I know that this bug was reported first, I think that it is worth to close this as duplicate, due the API change.
Comment 5 André Klapper 2011-06-23 22:05:31 UTC
[Mass-reassigning open atk bug reports for better trackability as requested in https://bugzilla.gnome.org/show_bug.cgi?id=653179 .
PLEASE NOTE:
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 https://bugzilla.gnome.org/userprefs.cgi?tab=email 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 6 Alejandro Piñeiro Iglesias (IRC: infapi00) 2011-08-31 09:08:54 UTC
(In reply to comment #4)
> This seems a duplicate of bug 551680.
> 
> Although I know that this bug was reported first, I think that it is worth to
> close this as duplicate, due the API change.

And closing as dup now.

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