[Galago-commits] r2322 - in trunk/libgalago: . libgalago
galago-commits at freedesktop.org
galago-commits at freedesktop.org
Sat Nov 19 15:13:36 PST 2005
Author: chipx86
Date: 2005-11-19 15:13:34 -0800 (Sat, 19 Nov 2005)
New Revision: 2322
Modified:
trunk/libgalago/ChangeLog
trunk/libgalago/libgalago/galago-person.c
Log:
Implement dbus_get_signature for GalagoPerson.
Modified: trunk/libgalago/ChangeLog
===================================================================
--- trunk/libgalago/ChangeLog 2005-11-19 23:03:17 UTC (rev 2321)
+++ trunk/libgalago/ChangeLog 2005-11-19 23:13:34 UTC (rev 2322)
@@ -1,3 +1,8 @@
+Sat Nov 19 15:13:16 PST 2005 Christian Hammond <chipx86 at chipx86.com>
+
+ * libgalago/galago-person.c:
+ - Implement dbus_get_signature for GalagoPerson.
+
Sat Nov 19 15:02:46 PST 2005 Christian Hammond <chipx86 at chipx86.com>
* tests/get-presence.c:
Modified: trunk/libgalago/libgalago/galago-person.c
===================================================================
--- trunk/libgalago/libgalago/galago-person.c 2005-11-19 23:03:17 UTC (rev 2321)
+++ trunk/libgalago/libgalago/galago-person.c 2005-11-19 23:13:34 UTC (rev 2322)
@@ -82,6 +82,7 @@
const GalagoObject *object);
static void *galago_person_dbus_message_get(DBusMessageIter *iter);
static void galago_person_dbus_push_full(GalagoObject *object);
+static gchar *galago_person_dbus_get_signature(const GalagoObject *object);
static void galago_person_set_gproperty(GObject *object, guint prop_id,
const GValue *value, GParamSpec *pspec);
static void galago_person_get_gproperty(GObject *object, guint prop_id,
@@ -106,6 +107,7 @@
object_class->dbus_message_append = galago_person_dbus_message_append;
object_class->dbus_message_get = galago_person_dbus_message_get;
object_class->dbus_push_full = galago_person_dbus_push_full;
+ object_class->dbus_get_signature = galago_person_dbus_get_signature;
gobject_class->set_property = galago_person_set_gproperty;
gobject_class->get_property = galago_person_get_gproperty;
@@ -286,6 +288,14 @@
}
}
+static gchar *
+galago_person_dbus_get_signature(const GalagoObject *object)
+{
+ return g_strdup(DBUS_TYPE_STRING_AS_STRING // obj path
+ DBUS_TYPE_STRING_AS_STRING // id
+ DBUS_TYPE_BOOLEAN_AS_STRING); // me
+}
+
static void
galago_person_set_gproperty(GObject *object, guint prop_id,
const GValue *value, GParamSpec *pspec)
More information about the galago-commits
mailing list