aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
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
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')
-rw-r--r--libempathy/empathy-ft-factory.c5
-rw-r--r--libempathy/empathy-ft-factory.h2
2 files changed, 4 insertions, 3 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);
}
diff --git a/libempathy/empathy-ft-factory.h b/libempathy/empathy-ft-factory.h
index 1adae4af1..18310bd2d 100644
--- a/libempathy/empathy-ft-factory.h
+++ b/libempathy/empathy-ft-factory.h
@@ -59,7 +59,7 @@ GType empathy_ft_factory_get_type (void);
/* public methods */
EmpathyFTFactory* empathy_ft_factory_dup_singleton (void);
void empathy_ft_factory_new_transfer_outgoing (EmpathyFTFactory *factory,
- EmpathyContact *contact, GFile *source);
+ EmpathyContact *contact, GFile *source, gboolean use_hash);
void empathy_ft_factory_claim_channel (EmpathyFTFactory *factory,
EmpathyDispatchOperation *operation);
void empathy_ft_factory_set_destination_for_incoming_handler