Summary: | Add basic introspection for the Mixins | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Travis Reitter <travis.reitter> |
Component: | tp-glib | Assignee: | Travis Reitter <travis.reitter> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | Keywords: | patch |
Version: | git master | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | review+ | ||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 29971 |
Description
Travis Reitter
2010-09-01 17:08:36 UTC
(Please put the patch keyword on bugs with patches so I'm more likely to notice them.) Looks fair enough. Am I right in thinking that this results in the structs, only, appearing in the GIR? Quite a lot of the mixin API is entirely feasible to introspect, so if we're going to whitelist the files, we should clone this bug for "do it properly". I'll do that. (In reply to comment #1) > (Please put the patch keyword on bugs with patches so I'm more likely to notice > them.) Sorry - will again next time. > Looks fair enough. Am I right in thinking that this results in the structs, > only, appearing in the GIR? Yes. Much of the GroupMixin functions were automatically recognized until I (skip)ped them. Most of the functions for the PresenceMixin and ContactsMixin were assumed to be static since there were no get_type() function (I believe -- I tried re-typing the GObject* and GObjectClass* opening arguments with annotations, and that wasn't enough to make them part of a coherent interface definition). > Quite a lot of the mixin API is entirely feasible to introspect, so if we're > going to whitelist the files, we should clone this bug for "do it properly". > I'll do that. Thanks. I'll keep that bug in mind as I expand the test suite, since we may need to use more of their features. Pushed to master. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.