[Galago-commits] r2381 - in trunk/libgalago: . libgalago
galago-commits at freedesktop.org
galago-commits at freedesktop.org
Wed Dec 14 01:26:57 PST 2005
Author: chipx86
Date: 2005-12-14 01:26:50 -0800 (Wed, 14 Dec 2005)
New Revision: 2381
Modified:
trunk/libgalago/ChangeLog
trunk/libgalago/libgalago/galago-account.c
Log:
Add support for object attributes in GalagoAccount.
Modified: trunk/libgalago/ChangeLog
===================================================================
--- trunk/libgalago/ChangeLog 2005-12-14 08:47:56 UTC (rev 2380)
+++ trunk/libgalago/ChangeLog 2005-12-14 09:26:50 UTC (rev 2381)
@@ -1,3 +1,8 @@
+Wed Dec 14 00:57:24 PST 2005 Christian Hammond <chipx86 at chipx86.com>
+
+ * libgalago/galago-account.c:
+ - Add support for object attributes in GalagoAccount.
+
Wed Dec 14 00:33:03 PST 2005 Christian Hammond <chipx86 at chipx86.com>
* libgalago/galago-core.c:
Modified: trunk/libgalago/libgalago/galago-account.c
===================================================================
--- trunk/libgalago/libgalago/galago-account.c 2005-12-14 08:47:56 UTC (rev 2380)
+++ trunk/libgalago/libgalago/galago-account.c 2005-12-14 09:26:50 UTC (rev 2381)
@@ -99,6 +99,7 @@
parent_class = g_type_class_peek_parent(klass);
object_class->dbus_interface = GALAGO_DBUS_ACCOUNT_INTERFACE;
+ object_class->supports_attrs = TRUE;
object_class->destroy = galago_account_destroy;
object_class->dbus_message_append = galago_account_dbus_message_append;
@@ -332,7 +333,7 @@
static void
galago_account_dbus_push_full(GalagoObject *object)
{
- GalagoAccount *account, *contact;
+ GalagoAccount *account;
GList *l;
account = (GalagoAccount *)object;
@@ -346,10 +347,11 @@
l != NULL;
l = l->next)
{
- contact = (GalagoAccount *)l->data;
+ _galago_dbus_account_add_contact(account, (GalagoAccount *)l->data);
+ }
- _galago_dbus_account_add_contact(account, contact);
- }
+ if (GALAGO_OBJECT_CLASS(parent_class)->dbus_push_full != NULL)
+ GALAGO_OBJECT_CLASS(parent_class)->dbus_push_full(object);
}
static gchar *
More information about the galago-commits
mailing list