diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2009-08-27 03:51:35 +0800 |
---|---|---|
committer | Kjartan Maraas <kmaraas@gnome.org> | 2009-08-27 04:00:17 +0800 |
commit | 56c5d32633bcbc91859771d09dfc2b30003d4090 (patch) | |
tree | a325101bd297d0a5bcda3ac7dc987bb21a1674e4 /widgets/misc/e-attachment.c | |
parent | ab6d59a3828f1b1b170d3827482ad37d89521fdb (diff) | |
download | gsoc2013-evolution-56c5d32633bcbc91859771d09dfc2b30003d4090.tar gsoc2013-evolution-56c5d32633bcbc91859771d09dfc2b30003d4090.tar.gz gsoc2013-evolution-56c5d32633bcbc91859771d09dfc2b30003d4090.tar.bz2 gsoc2013-evolution-56c5d32633bcbc91859771d09dfc2b30003d4090.tar.lz gsoc2013-evolution-56c5d32633bcbc91859771d09dfc2b30003d4090.tar.xz gsoc2013-evolution-56c5d32633bcbc91859771d09dfc2b30003d4090.tar.zst gsoc2013-evolution-56c5d32633bcbc91859771d09dfc2b30003d4090.zip |
Fix return types to match the type of function
Diffstat (limited to 'widgets/misc/e-attachment.c')
-rw-r--r-- | widgets/misc/e-attachment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/misc/e-attachment.c b/widgets/misc/e-attachment.c index 25fc4bb7db..44bf29c202 100644 --- a/widgets/misc/e-attachment.c +++ b/widgets/misc/e-attachment.c @@ -2658,8 +2658,8 @@ e_attachment_save_finish (EAttachment *attachment, GSimpleAsyncResult *simple; GFile *destination; - g_return_val_if_fail (E_IS_ATTACHMENT (attachment), FALSE); - g_return_val_if_fail (G_IS_SIMPLE_ASYNC_RESULT (result), FALSE); + g_return_val_if_fail (E_IS_ATTACHMENT (attachment), NULL); + g_return_val_if_fail (G_IS_SIMPLE_ASYNC_RESULT (result), NULL); simple = G_SIMPLE_ASYNC_RESULT (result); destination = g_simple_async_result_get_op_res_gpointer (simple); |