aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-ft-factory.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-05-06 20:59:17 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:47:40 +0800
commitc0a0111bcdb1d0f65e718883eeea4da868374e2e (patch)
tree7ed3503713cdd8f7948b29562ff983b134074a99 /libempathy/empathy-ft-factory.c
parentea3f6d46cbcb8faa50b50c317cfde6952947f9be (diff)
downloadgsoc2013-empathy-c0a0111bcdb1d0f65e718883eeea4da868374e2e.tar
gsoc2013-empathy-c0a0111bcdb1d0f65e718883eeea4da868374e2e.tar.gz
gsoc2013-empathy-c0a0111bcdb1d0f65e718883eeea4da868374e2e.tar.bz2
gsoc2013-empathy-c0a0111bcdb1d0f65e718883eeea4da868374e2e.tar.lz
gsoc2013-empathy-c0a0111bcdb1d0f65e718883eeea4da868374e2e.tar.xz
gsoc2013-empathy-c0a0111bcdb1d0f65e718883eeea4da868374e2e.tar.zst
gsoc2013-empathy-c0a0111bcdb1d0f65e718883eeea4da868374e2e.zip
Update the EmpathyFTFactory API
Update the factory API to make hashing request optional.
Diffstat (limited to 'libempathy/empathy-ft-factory.c')
-rw-r--r--libempathy/empathy-ft-factory.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libempathy/empathy-ft-factory.c b/libempathy/empathy-ft-factory.c
index 5ebbe19cd..e36f553c8 100644
--- a/libempathy/empathy-ft-factory.c
+++ b/libempathy/empathy-ft-factory.c
@@ -135,13 +135,14 @@ empathy_ft_factory_dup_singleton (void)
void
empathy_ft_factory_new_transfer_outgoing (EmpathyFTFactory *factory,
EmpathyContact *contact,
- GFile *source)
+ GFile *source,
+ gboolean use_hash)
{
g_return_if_fail (EMPATHY_IS_FT_FACTORY (factory));
g_return_if_fail (EMPATHY_IS_CONTACT (contact));
g_return_if_fail (G_IS_FILE (source));
- empathy_ft_handler_new_outgoing (contact, source,
+ empathy_ft_handler_new_outgoing (contact, source, use_hash,
ft_handler_outgoing_ready_cb, factory);
}