From 54568ac94cd317d0bcc40cc6b12758ce641ddfaa Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Wed, 26 Aug 2009 21:51:35 +0200 Subject: Fix return types to match the type of function --- widgets/misc/e-attachment.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/misc/e-attachment.c b/widgets/misc/e-attachment.c index 7d8984dba0..85979679c5 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); -- cgit