From b0c0886afacc59a31c407152ee4a8c682770dd08 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Tue, 18 Apr 2000 18:22:55 +0000 Subject: added 2nd arg to g_return_val_if_fail so this builds svn path=/trunk/; revision=2486 --- camel/camel-data-wrapper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'camel') diff --git a/camel/camel-data-wrapper.c b/camel/camel-data-wrapper.c index 6b3f26e023..3d05ae3b54 100644 --- a/camel/camel-data-wrapper.c +++ b/camel/camel-data-wrapper.c @@ -369,7 +369,7 @@ get_mime_type (CamelDataWrapper *data_wrapper) gchar * camel_data_wrapper_get_mime_type (CamelDataWrapper *data_wrapper) { - g_return_val_if_fail (CAMEL_IS_DATA_WRAPPER (data_wrapper)); + g_return_val_if_fail (CAMEL_IS_DATA_WRAPPER (data_wrapper), NULL); return CDW_CLASS (data_wrapper)->get_mime_type (data_wrapper); } @@ -390,7 +390,7 @@ get_mime_type_field (CamelDataWrapper *data_wrapper) GMimeContentField * camel_data_wrapper_get_mime_type_field (CamelDataWrapper *data_wrapper) { - g_return_val_if_fail (CAMEL_IS_DATA_WRAPPER (data_wrapper)); + g_return_val_if_fail (CAMEL_IS_DATA_WRAPPER (data_wrapper), NULL); return CDW_CLASS (data_wrapper)->get_mime_type_field (data_wrapper); } -- cgit v1.2.3