[Bug 59024] New: Think about a more introspectable way of doing mixins
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jan 4 14:25:19 CET 2013
https://bugs.freedesktop.org/show_bug.cgi?id=59024
Priority: medium
Bug ID: 59024
Assignee: telepathy-bugs at lists.freedesktop.org
Summary: Think about a more introspectable way of doing mixins
QA Contact: telepathy-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: All
Reporter: xclaesse at gmail.com
Hardware: Other
Status: NEW
Version: unspecified
Component: tp-glib
Product: Telepathy
In bug #14540 we decided to use a new way of doing TpNamesMixin:
Some rules for TpFooMixin:
1) Virtual methods are in a proper GInterface TpFooInterface
2) No public TpFooMixin struct, all data are kept internal
3) functions takes the base class (e.g. TpBaseConnection) as first arg
4) tp_foo_mixin_init() only takes one arg (the base object) and store its
internal mixin struct using g_object_set_qdata_full().
5) no tp_foo_mixin_finalize() needed.
--
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