diff options
-rw-r--r-- | camel/camel-data-wrapper.c | 4 |
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); } |