aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-attachment.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2003-02-04 03:17:22 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-02-04 03:17:22 +0800
commit362511859678492f0deadfb4992d58e982d35728 (patch)
tree1a08ad6b68e8c493801daf199d84db1c07459075 /composer/e-msg-composer-attachment.c
parent5b0dc680a2f46999015b4c16d7c2990253501fdc (diff)
downloadgsoc2013-evolution-362511859678492f0deadfb4992d58e982d35728.tar.gz
gsoc2013-evolution-362511859678492f0deadfb4992d58e982d35728.tar.zst
gsoc2013-evolution-362511859678492f0deadfb4992d58e982d35728.zip
ops, build
ops, build svn path=/trunk/; revision=19713
Diffstat (limited to 'composer/e-msg-composer-attachment.c')
-rw-r--r--composer/e-msg-composer-attachment.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/composer/e-msg-composer-attachment.c b/composer/e-msg-composer-attachment.c
index 2cd3315771..9a6bfefc79 100644
--- a/composer/e-msg-composer-attachment.c
+++ b/composer/e-msg-composer-attachment.c
@@ -34,8 +34,7 @@
#include <camel/camel.h>
#include <gtk/gtknotebook.h>
#include <gtk/gtktogglebutton.h>
-#include <libgnomevfs/gnome-vfs-utils.h>
-#include <libgnomevfs/gnome-vfs-mime-utils.h>
+#include <libgnomevfs/gnome-vfs-mime.h>
#include "e-util/e-mktemp.h"
@@ -311,9 +310,7 @@ update_mime_type (DialogData *data)
filename = gtk_entry_get_text (data->file_name_entry);
if (filename) {
- mime_type = gnome_vfs_get_mime_type_from_name (filename);
-
- if ((mime_type = gnome_vfs_get_mime_type_from_name (filename))
+ if ((mime_type = gnome_vfs_mime_type_from_name (filename)))
gtk_entry_set_text (data->mime_type_entry, mime_type);
}
}