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-file.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-file.c')
-rw-r--r-- | libempathy/empathy-tp-file.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c index 3ad81af62..25a8c40bc 100644 --- a/libempathy/empathy-tp-file.c +++ b/libempathy/empathy-tp-file.c @@ -787,7 +787,6 @@ do_constructed (GObject *object) { EmpathyTpFile *tp_file; EmpathyTpFilePriv *priv; - GHashTable *props; tp_file = EMPATHY_TP_FILE (object); priv = GET_PRIV (tp_file); @@ -795,8 +794,7 @@ do_constructed (GObject *object) g_signal_connect (priv->channel, "invalidated", G_CALLBACK (tp_file_invalidated_cb), tp_file); - props = tp_channel_borrow_immutable_properties (priv->channel); - priv->incoming = !tp_asv_get_boolean (props, TP_PROP_CHANNEL_REQUESTED, NULL); + priv->incoming = !tp_channel_get_requested (priv->channel); tp_cli_channel_type_file_transfer_connect_to_file_transfer_state_changed ( priv->channel, tp_file_state_changed_cb, NULL, NULL, object, NULL); |