diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-07 22:22:29 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-17 16:53:49 +0800 |
commit | 52eb24e6e7b012856525f6f09d3c1a941375d383 (patch) | |
tree | 08167041abd448ceb4ef7fc5e841e64305e22101 /libempathy/empathy-request-util.c | |
parent | 04edfb3dbbdf9a2a4ac6cf2ecafcbd88044ee094 (diff) | |
download | gsoc2013-empathy-52eb24e6e7b012856525f6f09d3c1a941375d383.tar gsoc2013-empathy-52eb24e6e7b012856525f6f09d3c1a941375d383.tar.gz gsoc2013-empathy-52eb24e6e7b012856525f6f09d3c1a941375d383.tar.bz2 gsoc2013-empathy-52eb24e6e7b012856525f6f09d3c1a941375d383.tar.lz gsoc2013-empathy-52eb24e6e7b012856525f6f09d3c1a941375d383.tar.xz gsoc2013-empathy-52eb24e6e7b012856525f6f09d3c1a941375d383.tar.zst gsoc2013-empathy-52eb24e6e7b012856525f6f09d3c1a941375d383.zip |
pass a preferred handler when requesting channels
We want to use Empathy components when possible instead of, say, KDE ones if
both are installed (#643863).
Diffstat (limited to 'libempathy/empathy-request-util.c')
-rw-r--r-- | libempathy/empathy-request-util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libempathy/empathy-request-util.c b/libempathy/empathy-request-util.c index c912cc1a2..ea885dacc 100644 --- a/libempathy/empathy-request-util.c +++ b/libempathy/empathy-request-util.c @@ -75,8 +75,8 @@ empathy_chat_with_contact_id (TpAccount *account, req = tp_account_channel_request_new (account, request, timestamp); - tp_account_channel_request_ensure_channel_async (req, NULL, NULL, - ensure_text_channel_cb, NULL); + tp_account_channel_request_ensure_channel_async (req, EMPATHY_CHAT_BUS_NAME, + NULL, ensure_text_channel_cb, NULL); g_hash_table_unref (request); g_object_unref (req); @@ -99,8 +99,8 @@ empathy_join_muc (TpAccount *account, req = tp_account_channel_request_new (account, request, timestamp); - tp_account_channel_request_ensure_channel_async (req, NULL, NULL, - ensure_text_channel_cb, NULL); + tp_account_channel_request_ensure_channel_async (req, EMPATHY_CHAT_BUS_NAME, + NULL, ensure_text_channel_cb, NULL); g_hash_table_unref (request); g_object_unref (req); |