diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-09-13 23:49:04 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-09-13 23:50:27 +0800 |
commit | 77d5de2dc9f4e8602151e4a22db98ebf41b36453 (patch) | |
tree | d09ef1675e04d1997e3584e68eb1d5658a9690ab /libempathy/empathy-tp-call.c | |
parent | 12a271f9dfb0b30ee686466a4188a30311fef036 (diff) | |
download | gsoc2013-empathy-77d5de2dc9f4e8602151e4a22db98ebf41b36453.tar gsoc2013-empathy-77d5de2dc9f4e8602151e4a22db98ebf41b36453.tar.gz gsoc2013-empathy-77d5de2dc9f4e8602151e4a22db98ebf41b36453.tar.bz2 gsoc2013-empathy-77d5de2dc9f4e8602151e4a22db98ebf41b36453.tar.lz gsoc2013-empathy-77d5de2dc9f4e8602151e4a22db98ebf41b36453.tar.xz gsoc2013-empathy-77d5de2dc9f4e8602151e4a22db98ebf41b36453.tar.zst gsoc2013-empathy-77d5de2dc9f4e8602151e4a22db98ebf41b36453.zip |
use tp_channel_get_requested()
Diffstat (limited to 'libempathy/empathy-tp-call.c')
-rw-r--r-- | libempathy/empathy-tp-call.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libempathy/empathy-tp-call.c b/libempathy/empathy-tp-call.c index 9dcf9bfd7..1a53de65d 100644 --- a/libempathy/empathy-tp-call.c +++ b/libempathy/empathy-tp-call.c @@ -378,8 +378,6 @@ tp_call_constructor (GType type, GObject *object; EmpathyTpCall *call; EmpathyTpCallPriv *priv; - GHashTable *props; - gboolean requested; object = G_OBJECT_CLASS (empathy_tp_call_parent_class)->constructor (type, n_construct_params, construct_params); @@ -404,10 +402,7 @@ tp_call_constructor (GType type, tp_call_request_streams_cb, NULL, NULL, G_OBJECT (call)); /* Is the call incoming? */ - props = tp_channel_borrow_immutable_properties (priv->channel); - requested = tp_asv_get_boolean (props, TP_PROP_CHANNEL_REQUESTED, NULL); - - priv->is_incoming = !requested; + priv->is_incoming = !tp_channel_get_requested (priv->channel); /* Get the remote contact */ empathy_tp_contact_factory_get_from_handle ( |