aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-data-wrapper.c
diff options
context:
space:
mode:
authorBertrand Guiheneuf <bertrand@src.gnome.org>1999-07-15 23:54:52 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-07-15 23:54:52 +0800
commit4a765990e54c4caeb9880ffac8994cf64f23baae (patch)
tree749e67b36154ca06593d8d798e808512228d6a93 /camel/camel-data-wrapper.c
parent16d79f55774a2c65863d2d9ec322f9bdbc1297a2 (diff)
downloadgsoc2013-evolution-4a765990e54c4caeb9880ffac8994cf64f23baae.tar
gsoc2013-evolution-4a765990e54c4caeb9880ffac8994cf64f23baae.tar.gz
gsoc2013-evolution-4a765990e54c4caeb9880ffac8994cf64f23baae.tar.bz2
gsoc2013-evolution-4a765990e54c4caeb9880ffac8994cf64f23baae.tar.lz
gsoc2013-evolution-4a765990e54c4caeb9880ffac8994cf64f23baae.tar.xz
gsoc2013-evolution-4a765990e54c4caeb9880ffac8994cf64f23baae.tar.zst
gsoc2013-evolution-4a765990e54c4caeb9880ffac8994cf64f23baae.zip
sync before going home
svn path=/trunk/; revision=1026
Diffstat (limited to 'camel/camel-data-wrapper.c')
-rw-r--r--camel/camel-data-wrapper.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/camel/camel-data-wrapper.c b/camel/camel-data-wrapper.c
index b4ef2f9c36..b348662808 100644
--- a/camel/camel-data-wrapper.c
+++ b/camel/camel-data-wrapper.c
@@ -33,8 +33,8 @@ static GtkObjectClass *parent_class=NULL;
static void _construct_from_stream (CamelDataWrapper *data_wrapper, CamelStream *stream);
static void _write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream);
-static void _set_mime_type (CamelDataWrapper *data_wrapper, GString *mime_type);
-static GString *_get_mime_type (CamelDataWrapper *data_wrapper);
+static void _set_mime_type (CamelDataWrapper *data_wrapper, gchar *mime_type);
+static gchar *_get_mime_type (CamelDataWrapper *data_wrapper);
static void
camel_data_wrapper_class_init (CamelDataWrapperClass *camel_data_wrapper_class)
@@ -147,28 +147,28 @@ camel_data_wrapper_construct_from_stream (CamelDataWrapper *data_wrapper, CamelS
static void
-_set_mime_type (CamelDataWrapper *data_wrapper, GString *mime_type)
+_set_mime_type (CamelDataWrapper *data_wrapper, gchar *mime_type)
{
g_assert (mime_type);
gmime_content_field_construct_from_string (data_wrapper->mime_type, mime_type);
}
void
-camel_data_wrapper_set_mime_type (CamelDataWrapper *data_wrapper, GString *mime_type)
+camel_data_wrapper_set_mime_type (CamelDataWrapper *data_wrapper, gchar *mime_type)
{
CDW_CLASS(data_wrapper)->set_mime_type (data_wrapper, mime_type);
}
-static GString *
+static gchar *
_get_mime_type (CamelDataWrapper *data_wrapper)
{
- GString *mime_type;
+ gchar *mime_type;
mime_type = gmime_content_field_get_mime_type (data_wrapper->mime_type);
return mime_type;
}
-static GString *
+static gchar *
camel_data_wrapper_get_mime_type (CamelDataWrapper *data_wrapper)
{
return CDW_CLASS(data_wrapper)->get_mime_type (data_wrapper);