Think about a more introspectable way of doing mixins
@xclaesse
Submitted by Xavier Claessens Assigned to Telepathy bugs list
Description
In bug #14540 we decided to use a new way of doing TpNamesMixin:
Some rules for TpFooMixin:
- Virtual methods are in a proper GInterface TpFooInterface
- No public TpFooMixin struct, all data are kept internal
- functions takes the base class (e.g. TpBaseConnection) as first arg
- tp_foo_mixin_init() only takes one arg (the base object) and store its internal mixin struct using g_object_set_qdata_full().
- no tp_foo_mixin_finalize() needed.