GNOME Bugzilla – Bug 635798
ATK API is not fully gobject introspection annotated
Last modified: 2011-01-26 09:58:02 UTC
Created attachment 175261 [details] g-ir-scanner warnings if you use --warn-all Right now Atk has support for gobject introspection, and the .gir file is created properly. This means that the methods implemented in C can be called from other language like Javascript. I'm doing that right now on gnome-shell, but I have found that some ATK methods misses their gobject introspection annotations. I have attached the output of g-ir-scanner if you configure it with warn-all. The fact is that the methods without the annotations are not being properly exported to the .gir file, so you can't call it from javascript. Writing this annotations is easy, in fact I will attach a patch with the annotation for atk_object_ref_state_set, but a long task, as there are a lot of methods. I will try to book some time to review that, but if not, at least I will upload the patches for the methods that I require, so at least we would have the annotations on demand, and we would have this patch to track this issue.
Created attachment 175263 [details] [review] Annotation for atk_object_ref_state_set Annotation for atk_object_ref_state_set BTW: gobject introspection annotations documentation: http://live.gnome.org/GObjectIntrospection/Annotations
*** This bug has been marked as a duplicate of bug 640574 ***