aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-07-06 05:04:20 +0800
committerDan Winship <danw@src.gnome.org>2000-07-06 05:04:20 +0800
commit1e54340d72e5aaeb88c120b275bb468198167ba4 (patch)
tree8a42978366aaed61bdc86897c225e4e19299af40
parent97539df0026d5be000fc5e906286d76cc9b1ea86 (diff)
downloadgsoc2013-evolution-1e54340d72e5aaeb88c120b275bb468198167ba4.tar
gsoc2013-evolution-1e54340d72e5aaeb88c120b275bb468198167ba4.tar.gz
gsoc2013-evolution-1e54340d72e5aaeb88c120b275bb468198167ba4.tar.bz2
gsoc2013-evolution-1e54340d72e5aaeb88c120b275bb468198167ba4.tar.lz
gsoc2013-evolution-1e54340d72e5aaeb88c120b275bb468198167ba4.tar.xz
gsoc2013-evolution-1e54340d72e5aaeb88c120b275bb468198167ba4.tar.zst
gsoc2013-evolution-1e54340d72e5aaeb88c120b275bb468198167ba4.zip
Oops. My gnome-vfs was out-of-date. Update for changed function name.
* mail-identify.c (mail_identify_mime_part): Oops. My gnome-vfs was out-of-date. Update for changed function name. svn path=/trunk/; revision=3898
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-identify.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index afad2df65b..dee175d84d 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,10 @@
2000-07-05 Dan Winship <danw@helixcode.com>
+ * mail-identify.c (mail_identify_mime_part): Oops. My gnome-vfs
+ was out-of-date. Update for changed function name.
+
+2000-07-05 Dan Winship <danw@helixcode.com>
+
* mail-identify.c (mail_identify_mime_part): Use the gnomevfs
sniff buffer interface to try to identify the MIME type when
everything else fails.
diff --git a/mail/mail-identify.c b/mail/mail-identify.c
index 8c1e08104a..f8c7f65231 100644
--- a/mail/mail-identify.c
+++ b/mail/mail-identify.c
@@ -57,14 +57,16 @@ mail_identify_mime_part (CamelMimePart *part)
*/
filename = gmime_content_field_get_parameter (content_type, "name");
if (filename) {
- type = gnome_vfs_mime_type_or_default (filename, NULL);
+ type = gnome_vfs_mime_type_from_name_or_default (filename,
+ NULL);
if (type)
return g_strdup (type);
}
filename = camel_mime_part_get_filename (part);
if (filename) {
- type = gnome_vfs_mime_type_or_default (filename, NULL);
+ type = gnome_vfs_mime_type_from_name_or_default (filename,
+ NULL);
if (type)
return g_strdup (type);
}