aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-02-24 22:59:55 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-02-26 17:32:36 +0800
commit4bf3c0df71c73abfe6a8d4ad3b55fd7baf592bb1 (patch)
treef3b43117ec0c35bc8b77d34527747cb6dea2f7ed
parenta58c33ecd0e4cc738a7495477d53ae3aa8aa00a6 (diff)
downloadgsoc2013-empathy-4bf3c0df71c73abfe6a8d4ad3b55fd7baf592bb1.tar
gsoc2013-empathy-4bf3c0df71c73abfe6a8d4ad3b55fd7baf592bb1.tar.gz
gsoc2013-empathy-4bf3c0df71c73abfe6a8d4ad3b55fd7baf592bb1.tar.bz2
gsoc2013-empathy-4bf3c0df71c73abfe6a8d4ad3b55fd7baf592bb1.tar.lz
gsoc2013-empathy-4bf3c0df71c73abfe6a8d4ad3b55fd7baf592bb1.tar.xz
gsoc2013-empathy-4bf3c0df71c73abfe6a8d4ad3b55fd7baf592bb1.tar.zst
gsoc2013-empathy-4bf3c0df71c73abfe6a8d4ad3b55fd7baf592bb1.zip
share-my-desktop: use tp_account_channel_request_set_target_contact()
https://bugzilla.gnome.org/show_bug.cgi?id=725070
-rw-r--r--libempathy-gtk/empathy-share-my-desktop.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-share-my-desktop.c b/libempathy-gtk/empathy-share-my-desktop.c
index 1acfacef7..147f4f752 100644
--- a/libempathy-gtk/empathy-share-my-desktop.c
+++ b/libempathy-gtk/empathy-share-my-desktop.c
@@ -61,16 +61,14 @@ empathy_share_my_desktop_share_with_contact (EmpathyContact *contact)
request = tp_asv_new (
TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING,
TP_IFACE_CHANNEL_TYPE_STREAM_TUBE,
- TP_PROP_CHANNEL_TARGET_HANDLE_TYPE, G_TYPE_UINT,
- TP_HANDLE_TYPE_CONTACT,
- TP_PROP_CHANNEL_TARGET_HANDLE, G_TYPE_UINT,
- tp_contact_get_handle (tp_contact),
TP_PROP_CHANNEL_TYPE_STREAM_TUBE_SERVICE, G_TYPE_STRING, "rfb",
NULL);
req = tp_account_channel_request_new (empathy_contact_get_account (contact),
request, TP_USER_ACTION_TIME_CURRENT_TIME);
+ tp_account_channel_request_set_target_contact (req, tp_contact);
+
tp_account_channel_request_create_channel_async (req, NULL, NULL,
create_tube_channel_cb, NULL);