[Bug 27833] TpChannelDispatchOperation high-level methods and CORE feature

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 7 13:19:38 CEST 2010


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

--- Comment #13 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-05-07 04:19:38 PDT ---
Other minor things, apart from the whole "I think the child objects should be
pushable in at construct-time" issue:

> + * If a channel closes, the #TpChannelDispatchOperation::channel-lost signal
> + * is emitted. If all channels
>   * close, there is nothing more to dispatch, so the invalidated signal will be
>   * emitted with the domain %TP_DBUS_ERRORS and the error code
>   * %TP_DBUS_ERROR_OBJECT_REMOVED.

This would be better as "the #TpProxy::invalidated signal" (my fault, but it
seems better to fix it in this branch than to have a trivia branch).

> +  g_object_notify ((GObject *) self, "channel-dispatch-operation-properties");

Perhaps "cdo-properties"?

> +  features[FEAT_CORE].name = TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE;
> +  features[FEAT_CORE].core = TRUE;

This reminds me that I should rename ".core" to something less ambiguous, like
"blocks_all_preparation". (This code is correct, because ".core" does not imply
"prepare automatically".)

> + * tp_channel_dispatch_operation_borrow_immutable_properties:

These borrow() functions should probably all be (skip) - they're "C bindings"
for a GObject property.

The result of tp_channel_dispatch_operation_borrow_immutable_properties should
also be (element-type utf8 GObject.Value).

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