GNOME Bugzilla – Bug 377382
AtkObjectFactory is language binding unfriendly
Last modified: 2011-08-31 09:08:54 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.
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.
Created attachment 76914 [details] [review] v2: Add factory for create_accessible aswell
Please be sure to use symbol versioning for binary compatibility. Both ABIs should exist for a while.
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.
[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.]
(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 ***