Bug #27871 adds TpSimpleObserver to tp-glib. Tp-logger should use it instead of its own Observer implementation.
I'm going to use TpBaseClient actually.
http://git.collabora.co.uk/?p=user/cassidy/telepathy-logger;a=shortlog;h=refs/heads/observer
Looks good, but I'd prefer a couple of additional changes: > error: > ... > + DEBUG ("Returning from observe channels on error condition. " > + "Unable to log the channel"); > + > + tp_observe_channels_context_accept (context); What errors can occur? It seems more correct to use tp_observe_channels_context_fail() (in practice MC will log the error, then carry on regardless). > + if (tp_base_client_register (TP_BASE_CLIENT (observer), &error) == FALSE) Don't compare booleans to TRUE and FALSE: if (!tp_b_c_r (..., &error)) { ... }
done.
Merged 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.