summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-10 11:38:30 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-10 11:38:30 +0200
commit3769f59525c07f39314587d9a2aecf53ec3c0a01 (patch)
treee41b5558125deaa5db5ca3187887de2c16ac2b37
parent4c3b73e98fbf88d24f3fd42a998511b055c89001 (diff)
_tp_base_client_add_dispatch_operation: use _tp_channel_dispatch_operation_new_with_objects to create the CDO
-rw-r--r--telepathy-glib/base-client.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/telepathy-glib/base-client.c b/telepathy-glib/base-client.c
index 63360d59..0e317047 100644
--- a/telepathy-glib/base-client.c
+++ b/telepathy-glib/base-client.c
@@ -103,6 +103,7 @@
#include <telepathy-glib/account-manager.h>
#include <telepathy-glib/add-dispatch-operation-context-internal.h>
+#include <telepathy-glib/channel-dispatch-operation-internal.h>
#include <telepathy-glib/channel-request.h>
#include <telepathy-glib/channel.h>
#include <telepathy-glib/dbus-internal.h>
@@ -1050,8 +1051,9 @@ _tp_base_client_add_dispatch_operation (TpSvcClientApprover *iface,
g_ptr_array_add (channels, channel);
}
- dispatch_operation = tp_channel_dispatch_operation_new (self->priv->dbus,
- dispatch_operation_path, properties, &error);
+ dispatch_operation = _tp_channel_dispatch_operation_new_with_objects (
+ self->priv->dbus, dispatch_operation_path, properties,
+ account, connection, channels, &error);
if (dispatch_operation == NULL)
{
DEBUG ("Failed to create TpChannelDispatchOperation: %s", error->message);