Summary: | Calls GetAll on channels even if constructed with properties | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Will Thompson <will> |
Component: | tp-glib | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
URL: | http://git.collabora.co.uk/?p=user/wjt/telepathy-glib.git;a=shortlog;h=refs/heads/properties-introspection | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Will Thompson
2009-07-22 06:12:41 UTC
The branch 'group-introspection-roundtrip-reduction' <http://git.collabora.co.uk/?p=user/wjt/telepathy-glib.git;a=shortlog;h=refs/heads/group-introspection-roundtrip-reduction> extends 'properties-introspection' by improving the fast-path in the presence of the Group interface. Currently, TpChannel calls GetInterfaces() redundantly to check the channel's alive even if the Group properties are about to be introspected, which could just as well serve as a check that the channel's alive. 13:17 < smcv> wjt: TestTextChannelNull *service_props_chan; 13:17 < smcv> wjt: + TestPropsTextChannel *service_props_chan_; 13:17 < smcv> wjt: no. variable names with meaning, please 13:17 < smcv> wjt: you could probably just change the type of service_props_chan to be the subclass, then cast it where needed? (There is another instance of this for the group channel.) Apart from that, I think this is ready for merge. Merged, will be in 0.7.34. Thanks for the review! |
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.