[Telepathy-commits] [telepathy-mission-control/master] Requests through the Compat interface also call AddRequest
Alberto Mardegan
alberto.mardegan at nokia.com
Mon Nov 17 00:05:25 PST 2008
Make it so that also those channel requests issued through the Compat interface
will be advertised to the client with AddRequest.
---
src/mcd-account-compat.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/mcd-account-compat.c b/src/mcd-account-compat.c
index 340e94f..056182f 100644
--- a/src/mcd-account-compat.c
+++ b/src/mcd-account-compat.c
@@ -304,6 +304,7 @@ _mcd_account_compat_request_channel_nmc4 (McdAccount *account,
McdAccountCompatReq *req_data;
GHashTable *properties;
GValue *value;
+ McdDispatcher *dispatcher;
properties = g_hash_table_new_full (g_str_hash, g_str_equal,
NULL,
@@ -336,6 +337,9 @@ _mcd_account_compat_request_channel_nmc4 (McdAccount *account,
channel = mcd_channel_new_request (properties, 0, NULL);
g_hash_table_unref (properties);
+ dispatcher = mcd_master_get_dispatcher (mcd_master_get_default ());
+ _mcd_dispatcher_add_request (dispatcher, channel);
+
req_data = g_slice_new0 (McdAccountCompatReq);
req_data->requestor_serial = req->requestor_serial;
req_data->requestor_client_id = g_strdup (req->requestor_client_id);
--
1.5.6.5
More information about the Telepathy-commits
mailing list