diff options
author | Cosimo Cecchi <cosimo.cecchi@collabora.co.uk> | 2009-05-20 18:34:23 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2009-06-01 23:53:22 +0800 |
commit | c23cff9fadeae104feff7c19764bafaff78cfbd6 (patch) | |
tree | 75f55848636f7d2190087b1bb02ef64abc33dbab /libempathy/empathy-ft-handler.c | |
parent | f2020ab546f98b45080923b07129b2ab38d087bd (diff) | |
download | gsoc2013-empathy-c23cff9fadeae104feff7c19764bafaff78cfbd6.tar gsoc2013-empathy-c23cff9fadeae104feff7c19764bafaff78cfbd6.tar.gz gsoc2013-empathy-c23cff9fadeae104feff7c19764bafaff78cfbd6.tar.bz2 gsoc2013-empathy-c23cff9fadeae104feff7c19764bafaff78cfbd6.tar.lz gsoc2013-empathy-c23cff9fadeae104feff7c19764bafaff78cfbd6.tar.xz gsoc2013-empathy-c23cff9fadeae104feff7c19764bafaff78cfbd6.tar.zst gsoc2013-empathy-c23cff9fadeae104feff7c19764bafaff78cfbd6.zip |
Clarify a bit the docs about checksumming
Diffstat (limited to 'libempathy/empathy-ft-handler.c')
-rw-r--r-- | libempathy/empathy-ft-handler.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c index d537f4896..3dc790f3f 100644 --- a/libempathy/empathy-ft-handler.c +++ b/libempathy/empathy-ft-handler.c @@ -404,7 +404,9 @@ empathy_ft_handler_class_init (EmpathyFTHandlerClass *klass) * is started. Note that this only happens if the handler is created * with checksum enabled and, even if the option is set, is not * guaranteed to happen for incoming handlers, as the CM might not - * support sending/receiving the file hash. + * support sending/receiving the file hash. You can use + * empathy_ft_handler_get_use_hash() to find out whether the handler really + * supports checksum. */ signals[HASHING_STARTED] = g_signal_new ("hashing-started", G_TYPE_FROM_CLASS (klass), @@ -1383,7 +1385,9 @@ empathy_ft_handler_get_gfile (EmpathyFTHandler *handler) * empathy_ft_handler_get_use_hash: * @handler: an #EmpathyFTHandler * - * Returns whether @handler has checksumming enabled. + * Returns whether @handler has checksumming enabled. Note that if the CM + * doesn't support sending/receiving the checksum, this can return %FALSE even + * if the handler was created with the use_hash parameter set to %TRUE. * * Return value: %TRUE if the handler has checksumming enabled, * %FALSE otherwise. |