summaryrefslogtreecommitdiff
path: root/generate
diff options
context:
space:
mode:
author <ole.andre.ravnaas@collabora.co.uk>2006-04-07 16:28:36 +0000
committer <ole.andre.ravnaas@collabora.co.uk>2006-04-07 16:28:36 +0000
commit819bc7f2956bba7e91b4c397d21525085537f769 (patch)
treed2377eaccd22aa75047a926ad91b906a5a1f0cbb /generate
parentde3de4282c84d5eae0f781d6c94634ed4287bd03 (diff)
MUC: Add almost-working support for writing RoomProperties.
Diffstat (limited to 'generate')
-rw-r--r--generate/src/gabble-muc-channel.c9
-rw-r--r--generate/src/gabble-muc-channel.h2
-rw-r--r--generate/xml-modified/gabble-muc-channel.xml1
3 files changed, 5 insertions, 7 deletions
diff --git a/generate/src/gabble-muc-channel.c b/generate/src/gabble-muc-channel.c
index a3810365e..11788dee9 100644
--- a/generate/src/gabble-muc-channel.c
+++ b/generate/src/gabble-muc-channel.c
@@ -508,13 +508,10 @@ gboolean gabble_muc_channel_send (GabbleMucChannel *obj, guint type, const gchar
* Implements DBus method SetProperties
* on interface org.freedesktop.Telepathy.Channel.Interface.RoomProperties
*
- * @error: Used to return a pointer to a GError detailing any error
- * that occured, DBus will throw the error only if this
- * function returns false.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
+ * @context: The DBUS invocation context to use to return values
+ * or throw an error.
*/
-gboolean gabble_muc_channel_set_properties (GabbleMucChannel *obj, GHashTable * properties, GError **error)
+gboolean gabble_muc_channel_set_properties (GabbleMucChannel *obj, GHashTable * properties, DBusGMethodInvocation *context)
{
return TRUE;
}
diff --git a/generate/src/gabble-muc-channel.h b/generate/src/gabble-muc-channel.h
index be17ba1dc..060060b00 100644
--- a/generate/src/gabble-muc-channel.h
+++ b/generate/src/gabble-muc-channel.h
@@ -71,7 +71,7 @@ gboolean gabble_muc_channel_list_properties (GabbleMucChannel *obj, GHashTable *
gboolean gabble_muc_channel_provide_password (GabbleMucChannel *obj, const gchar * password, DBusGMethodInvocation *context);
gboolean gabble_muc_channel_remove_members (GabbleMucChannel *obj, const GArray * contacts, const gchar * message, GError **error);
gboolean gabble_muc_channel_send (GabbleMucChannel *obj, guint type, const gchar * text, GError **error);
-gboolean gabble_muc_channel_set_properties (GabbleMucChannel *obj, GHashTable * properties, GError **error);
+gboolean gabble_muc_channel_set_properties (GabbleMucChannel *obj, GHashTable * properties, DBusGMethodInvocation *context);
G_END_DECLS
diff --git a/generate/xml-modified/gabble-muc-channel.xml b/generate/xml-modified/gabble-muc-channel.xml
index 3f7689802..58e35843f 100644
--- a/generate/xml-modified/gabble-muc-channel.xml
+++ b/generate/xml-modified/gabble-muc-channel.xml
@@ -41,6 +41,7 @@
<arg type="a{uu}" name="properties" />
</signal>
<method name="SetProperties">
+ <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<arg direction="in" type="a{uv}" name="properties" />
</method>
<method name="GetProperties">