[Bug 32691] Support addressing in TpBaseProtocol

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 14 16:32:40 CET 2011


https://bugs.freedesktop.org/show_bug.cgi?id=32691

--- Comment #7 from Andre Moreira Magalhaes <andrunko at gmail.com> 2011-11-14 07:32:40 PST ---
(In reply to comment #6)
> The implementation looks fine; some naming/documentation/g-i issues.
> 
> +/**
> + * TpBaseProtocolGetSupportedVCardFields:
> 
> Needs a Returns: line. Did you build this branch with gtk-doc? Did it tell you
> you were missing this?
> 
> The Returns: line gives you a chance to say "a list of vCard fields in lower
> case, e.g. [x-sip, tel]" or whatever - SIP makes a great example for this sort
> of thing, because it typically supports both SIP and telephony, and its vCard
> field and URI scheme don't have the same name.
> 
> It's actually Returns: (allow-none) (out) (transfer full): ... in order to have
> the g-i annotations right, I think.
> 
> Neither you nor Eitan fixed this:
Done, used the same annotation above.

> > > + * TpBaseProtocolGetAddressingDetailsFunc:
> >
> > ...Dup... rather than Get, really.
> 
> Also, I think a typedef for a function pointer should generally say ...Func at
> the end (this one did in Eitan's initial branch, not sure what happened to
> that).
Actually this has changed now and does not exist anymore. Updated
telepathy-glib-sections.txt accordingly.

> +/**
> + * TpBaseProtocolGetSupportedURISchemes:
> 
> All comments about SupportedVCardFields apply here. Again, consider using SIP
> as your example, to have [sip, sips, tel].
Done

Also fixed a bug in the protocol-objects test.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.



More information about the telepathy-bugs mailing list