[Bug 25236] TpBaseClient - an abstract class to implement clients

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 28 15:28:48 CEST 2010


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

--- Comment #32 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-04-28 06:28:48 PDT ---
I still need to review the regression test (including SimpleClient) - I'll do
that next.

(In reply to comment #29)
> I rebased the branch on top of master (to enjoy the new valgrind goodness) and
> pushed 2 more patches making test-base-client leak free.

I assume I've already seen everything up to "allow tp_base_client_register to
fail". The changes up to and including "add base-client.h to telepathy-glib.h"
look good, except for:

>   61  * Signature of the implementation of the ObserveChannels method.
>   62  * This function MUST call tp_observe_channels_context_accept,
>   63  * tp_observe_channels_context_delay or tp_observe_channels_context_fail.

This isn't an RFC (or telepathy-spec, which pretends to be one) so I'd be
inclined to not capitalize MUST. How about this?

 * Signature of the implementation of the ObserveChannels method.
 *
 * This function must call either tp_observe_channels_context_accept,
 * tp_observe_channels_context_delay or tp_observe_channels_context_fail
 * on @context before it returns.

> +/* FIXME: This function should be (skip) but that breaks gtk-doc <= 1.14 */

As of current master, we've decided to ignore that limitation and rely on
having the necessary patch in gtk-doc (1.14-2 in Debian), so please (skip)
this.

> +      DEBUG ("Failed to register bus name %s\n", string->str);

Remove \n

http://git.collabora.co.uk/?p=user/cassidy/telepathy-glib;a=commitdiff;h=8310b0e8bf0752604daae52c1cd8f50351a3752e
> a

I assume this was meant to be squashed into "base-client: remove Approver and
Handler code for now" :-)

-- 
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