diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-05-10 11:38:30 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-05-10 11:38:30 +0200 |
commit | 3769f59525c07f39314587d9a2aecf53ec3c0a01 (patch) | |
tree | e41b5558125deaa5db5ca3187887de2c16ac2b37 /telepathy-glib | |
parent | 4c3b73e98fbf88d24f3fd42a998511b055c89001 (diff) | |
download | telepathy-glib-3769f59525c07f39314587d9a2aecf53ec3c0a01.tar.gz |
_tp_base_client_add_dispatch_operation: use _tp_channel_dispatch_operation_new_with_objects to create the CDO
Diffstat (limited to 'telepathy-glib')
-rw-r--r-- | telepathy-glib/base-client.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/telepathy-glib/base-client.c b/telepathy-glib/base-client.c index 63360d597..0e317047f 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); |