From 872178334e6171c60b5bcf1cede7ae5a36645da1 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Wed, 13 May 2009 15:02:16 +0200 Subject: Add use_hash params for incoming transfers Add use_hash params for incoming transfers to the FT Factory and Handler, so that we will use them to check hash for received files. --- libempathy/empathy-ft-factory.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libempathy/empathy-ft-factory.c') diff --git a/libempathy/empathy-ft-factory.c b/libempathy/empathy-ft-factory.c index e36f553c8..e294eba61 100644 --- a/libempathy/empathy-ft-factory.c +++ b/libempathy/empathy-ft-factory.c @@ -169,13 +169,14 @@ void empathy_ft_factory_set_destination_for_incoming_handler (EmpathyFTFactory *factory, EmpathyFTHandler *handler, - GFile *destination) + GFile *destination, + gboolean use_hash) { g_return_if_fail (EMPATHY_IS_FT_FACTORY (factory)); g_return_if_fail (EMPATHY_IS_FT_HANDLER (handler)); g_return_if_fail (G_IS_FILE (destination)); - empathy_ft_handler_incoming_set_destination (handler, destination); + empathy_ft_handler_incoming_set_destination (handler, destination, use_hash); g_signal_emit (factory, signals[NEW_FT_HANDLER], 0, handler, FALSE); } -- cgit v1.2.3