[file-roller: 50/123] fixed loading of archives dropping the icon on the window
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller: 50/123] fixed loading of archives dropping the icon on the window
- Date: Mon, 6 Aug 2012 13:45:04 +0000 (UTC)
commit 70f01e1e70c3412047b290ff53d5c7a72de5de2c
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Jul 21 13:15:44 2012 +0200
fixed loading of archives dropping the icon on the window
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 941c4d7..b23785d 100644
--- a/src/fr-archive.c
+++ b/src/fr-archive.c
@@ -1691,7 +1691,7 @@ _g_uri_is_archive (const char *uri)
if (g_load_file_in_buffer (file, buffer, buffer_size, NULL)) {
gboolean result_uncertain;
- g_content_type_guess (uri, (guchar *) buffer, buffer_size, &result_uncertain);
+ mime_type = g_content_type_guess (uri, (guchar *) buffer, buffer_size, &result_uncertain);
if (result_uncertain) {
mime_type = get_mime_type_from_magic_numbers (buffer, buffer_size);
if (mime_type == NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]