Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/ev-attachment.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/ev-attachment.c b/backend/ev-attachment.c
index 1098267..63619af 100644
--- a/backend/ev-attachment.c
+++ b/backend/ev-attachment.c
@@ -293,8 +293,7 @@ ev_attachment_save (EvAttachment *attachment,
g_return_val_if_fail (uri != NULL, FALSE);
result = gnome_vfs_create (&handle, uri,
- GNOME_VFS_OPEN_WRITE |
- GNOME_VFS_OPEN_TRUNCATE,
+ GNOME_VFS_OPEN_WRITE,
FALSE, 0644);
if (result != GNOME_VFS_OK) {
g_set_error (error,