[gnome-contacts] Use Call API
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Use Call API
- Date: Tue, 28 Feb 2012 11:37:14 +0000 (UTC)
commit e5a1dc64c1e18403a6a3192733d215a379db6caa
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Feb 27 13:25:45 2012 +0100
Use Call API
Since 3.3.90 Empathy now only ships empathy-call which implement the new Call
API.
https://bugzilla.gnome.org/show_bug.cgi?id=670869
src/contacts-utils.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/contacts-utils.vala b/src/contacts-utils.vala
index 6c5b7db..5ab27eb 100644
--- a/src/contacts-utils.vala
+++ b/src/contacts-utils.vala
@@ -63,18 +63,18 @@ public class Contacts.Utils : Object {
str_equal);
request_dict.insert (TelepathyGLib.PROP_CHANNEL_CHANNEL_TYPE,
- TelepathyGLib.IFACE_CHANNEL_TYPE_STREAMED_MEDIA);
+ TelepathyGLib.IFACE_CHANNEL_TYPE_CALL);
request_dict.insert (TelepathyGLib.PROP_CHANNEL_TARGET_HANDLE_TYPE,
(int) TelepathyGLib.HandleType.CONTACT);
request_dict.insert (TelepathyGLib.PROP_CHANNEL_TARGET_ID, contact_id);
request_dict.insert (
- TelepathyGLib.PROP_CHANNEL_TYPE_STREAMED_MEDIA_INITIAL_AUDIO,
+ TelepathyGLib.PROP_CHANNEL_TYPE_CALL_INITIAL_AUDIO,
true);
var request = new TelepathyGLib.AccountChannelRequest(account,
request_dict, int64.MAX);
request.ensure_channel_async.begin (
- "org.freedesktop.Telepathy.Client.Empathy.AudioVideo", null);
+ "org.freedesktop.Telepathy.Client.Empathy.Call", null);
}
public static T? get_first<T> (Collection<T> collection) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]