Some aspects of the GObjectification approach
mark at kingant.net
Mon Oct 7 03:38:11 EDT 2013
On Sat, Jun 1, 2013 at 12:13 PM, Ankit Vani <a at nevitus.org> wrote:
> 2. Data fields
> We do not need to have protocol data and UI data fields on objects.
> For that, we can use subclasses. For example, we can have GObject <-
> PurpleBlistNode <- PurpleBuddy <- XMPPBuddy. If we cannot subclass, we
> can use or g_object_set_data().
Is this plan still accurate? I notice that PurpleAccount still has
"gpointer ui_data," purple_account_set_ui_data(), and
purple_account_get_ui_data(). It looks like these maybe aren't used
for PurpleAccount, but it looks like there are other objects with a
ui_data field that IS still used.
More information about the Devel