[file-roller] Can't open ".war" format since 3.2
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] Can't open ".war" format since 3.2
- Date: Wed, 8 Feb 2012 16:33:07 +0000 (UTC)
commit b6104a74e66ceca98884a6f974485a96a83526a2
Author: Paolo Bacchilega <paobac src gnome org>
Date: Wed Feb 8 17:28:07 2012 +0100
Can't open ".war" format since 3.2
magic_file must return only the mime type.
[bug #664269]
src/fr-archive.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/fr-archive.c b/src/fr-archive.c
index ed98547..1f9145c 100644
--- a/src/fr-archive.c
+++ b/src/fr-archive.c
@@ -532,7 +532,7 @@ get_mime_type_from_magic_numbers (GFile *file)
static magic_t magic = NULL;
if (! magic) {
- magic = magic_open (MAGIC_MIME);
+ magic = magic_open (MAGIC_MIME_TYPE);
if (magic)
magic_load (magic, NULL);
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]