aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-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);
}