[Bug 59024] Think about a more introspectable way of doing mixins

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 10 05:33:09 PDT 2014


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

--- Comment #13 from Simon McVittie <simon.mcvittie at collabora.co.uk> ---
(In reply to comment #12)
> TpPresenceMixin could be turned into an abstract GObject that takes a
> TpBaseConnection as construct-only property. It will then create the
> gdbus-codegen' skeleton, implement all its stuff, and simply call
> tp_dbus_object_add_skeleton(base_connection, presence_skeleton);

Yes, I think this is a good concept - but I think tp_dbus_object_add_skeleton()
can in fact just be g_dbus_object_skeleton_add_interface() in constructed(). I
have a rather sketchy branch which implements this for TpBaseProtocol (because
it's the simplest).

I'll try it for TpBaseConnection, rebasing your implementation of a custom
GDBusInterfaceSkeleton onto it, when I get a chance.

> We only have 3 mixins, How Hard Can It Be?™

Indeed.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the telepathy-bugs mailing list