aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2009-08-27 03:51:35 +0800
committerKjartan Maraas <kmaraas@gnome.org>2009-08-27 04:17:34 +0800
commit54568ac94cd317d0bcc40cc6b12758ce641ddfaa (patch)
tree7895472d421020adf8cddad8c6b2c48f5319be11 /widgets/misc
parent92d0be682291073066ed77347817dcf5730b408b (diff)
downloadgsoc2013-evolution-54568ac94cd317d0bcc40cc6b12758ce641ddfaa.tar.gz
gsoc2013-evolution-54568ac94cd317d0bcc40cc6b12758ce641ddfaa.tar.zst
gsoc2013-evolution-54568ac94cd317d0bcc40cc6b12758ce641ddfaa.zip
Fix return types to match the type of function
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-attachment.c4
1 files 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);