[empathy: 63/148] Update the EmpathyFTFactory API
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy: 63/148] Update the EmpathyFTFactory API
- Date: Mon, 1 Jun 2009 12:12:52 -0400 (EDT)
commit c0a0111bcdb1d0f65e718883eeea4da868374e2e
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed May 6 14:59:17 2009 +0200
Update the EmpathyFTFactory API
Update the factory API to make hashing request optional.
---
libempathy/empathy-ft-factory.c | 5 +++--
libempathy/empathy-ft-factory.h | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/libempathy/empathy-ft-factory.c b/libempathy/empathy-ft-factory.c
index 5ebbe19..e36f553 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 1adae4a..18310bd 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]