[evolution-data-server] camel_junk_filter_classify(): Fix return values.



commit 3c333a44dba5c52a219b88e473c6bd87f6a3b9d8
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Oct 17 07:59:07 2012 -0400

    camel_junk_filter_classify(): Fix return values.

 camel/camel-junk-filter.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/camel/camel-junk-filter.c b/camel/camel-junk-filter.c
index 484a1b7..e23015d 100644
--- a/camel/camel-junk-filter.c
+++ b/camel/camel-junk-filter.c
@@ -49,11 +49,11 @@ camel_junk_filter_classify (CamelJunkFilter *junk_filter,
 {
 	CamelJunkFilterInterface *interface;
 
-	g_return_val_if_fail (CAMEL_IS_JUNK_FILTER (junk_filter), FALSE);
-	g_return_val_if_fail (CAMEL_IS_MIME_MESSAGE (message), FALSE);
+	g_return_val_if_fail (CAMEL_IS_JUNK_FILTER (junk_filter), 0);
+	g_return_val_if_fail (CAMEL_IS_MIME_MESSAGE (message), 0);
 
 	interface = CAMEL_JUNK_FILTER_GET_INTERFACE (junk_filter);
-	g_return_val_if_fail (interface->classify != NULL, FALSE);
+	g_return_val_if_fail (interface->classify != NULL, 0);
 
 	return interface->classify (
 		junk_filter, message, cancellable, error);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]