aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-data-wrapper.c
diff options
context:
space:
mode:
authorSeth Alves <alves@src.gnome.org>2000-04-19 02:22:55 +0800
committerSeth Alves <alves@src.gnome.org>2000-04-19 02:22:55 +0800
commitb0c0886afacc59a31c407152ee4a8c682770dd08 (patch)
tree7b7c4b8a9f71b8f5efd389a3b0cda5ec26575ff6 /camel/camel-data-wrapper.c
parent25e1b34aafe43ba6cf1040340a38dd38a90aad33 (diff)
downloadgsoc2013-evolution-b0c0886afacc59a31c407152ee4a8c682770dd08.tar
gsoc2013-evolution-b0c0886afacc59a31c407152ee4a8c682770dd08.tar.gz
gsoc2013-evolution-b0c0886afacc59a31c407152ee4a8c682770dd08.tar.bz2
gsoc2013-evolution-b0c0886afacc59a31c407152ee4a8c682770dd08.tar.lz
gsoc2013-evolution-b0c0886afacc59a31c407152ee4a8c682770dd08.tar.xz
gsoc2013-evolution-b0c0886afacc59a31c407152ee4a8c682770dd08.tar.zst
gsoc2013-evolution-b0c0886afacc59a31c407152ee4a8c682770dd08.zip
added 2nd arg to g_return_val_if_fail so this builds
svn path=/trunk/; revision=2486
Diffstat (limited to 'camel/camel-data-wrapper.c')
-rw-r--r--camel/camel-data-wrapper.c4
1 files changed, 2 insertions, 2 deletions
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);
}