diff options
author | Dan Winship <danw@src.gnome.org> | 2001-01-03 03:33:34 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-01-03 03:33:34 +0800 |
commit | af35d99587599042f7521aa761dc511a166df3cf (patch) | |
tree | 91cd80c4180c3b8385823ddc58f9884751374f0c /camel/camel-data-wrapper.c | |
parent | 81d69ae252c95ee51a80e5681d504876bd199de7 (diff) | |
download | gsoc2013-evolution-af35d99587599042f7521aa761dc511a166df3cf.tar.gz gsoc2013-evolution-af35d99587599042f7521aa761dc511a166df3cf.tar.zst gsoc2013-evolution-af35d99587599042f7521aa761dc511a166df3cf.zip |
New function to return just foo/bar with no parameters.
* camel-mime-utils.c (header_content_type_simple): New function to
return just foo/bar with no parameters.
* camel-data-wrapper.c (get_mime_type): Use
header_content_type_simple rather than header_content_type_format.
svn path=/trunk/; revision=7213
Diffstat (limited to 'camel/camel-data-wrapper.c')
-rw-r--r-- | camel/camel-data-wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-data-wrapper.c b/camel/camel-data-wrapper.c index 061e664b92..d5a43d27ba 100644 --- a/camel/camel-data-wrapper.c +++ b/camel/camel-data-wrapper.c @@ -205,7 +205,7 @@ camel_data_wrapper_set_mime_type (CamelDataWrapper *data_wrapper, static gchar * get_mime_type (CamelDataWrapper *data_wrapper) { - return header_content_type_format (data_wrapper->mime_type); + return header_content_type_simple (data_wrapper->mime_type); } /** |