[evolution/kill-bonobo] Fix return types to match the type of function
- From: Kjartan Maraas <kmaraas src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution/kill-bonobo] Fix return types to match the type of function
- Date: Wed, 26 Aug 2009 20:17:45 +0000 (UTC)
commit 54568ac94cd317d0bcc40cc6b12758ce641ddfaa
Author: Kjartan Maraas <kmaraas gnome org>
Date: Wed Aug 26 21:51:35 2009 +0200
Fix return types to match the type of function
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 7d8984d..8597967 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]