[empathy/next: 66/79] empathy_call_observer_init: use TpChannelFilter high-level API
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/next: 66/79] empathy_call_observer_init: use TpChannelFilter high-level API
- Date: Thu, 3 Apr 2014 14:31:31 +0000 (UTC)
commit 9ab9ade4b480add6c04defca1008d377bc4cc369
Author: Simon McVittie <simon mcvittie collabora co uk>
Date: Tue Mar 25 19:08:23 2014 +0000
empathy_call_observer_init: use TpChannelFilter high-level API
src/empathy-call-observer.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/empathy-call-observer.c b/src/empathy-call-observer.c
index ffaa613..3e506d6 100644
--- a/src/empathy-call-observer.c
+++ b/src/empathy-call-observer.c
@@ -288,10 +288,8 @@ empathy_call_observer_init (EmpathyCallObserver *self)
"Empathy.CallObserver", FALSE, observe_channel, self, NULL);
/* Observe Call channels */
- tp_base_client_add_observer_filter (self->priv->observer,
- g_variant_new_parsed ("{ %s: <%s>, %s: <%u> }",
- TP_PROP_CHANNEL_CHANNEL_TYPE, TP_IFACE_CHANNEL_TYPE_CALL1,
- TP_PROP_CHANNEL_TARGET_ENTITY_TYPE, (guint32) TP_ENTITY_TYPE_CONTACT));
+ tp_base_client_take_observer_filter (self->priv->observer,
+ tp_channel_filter_new_for_calls (TP_ENTITY_TYPE_CONTACT));
tp_base_client_set_observer_delay_approvers (self->priv->observer, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]