Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2006-08-15 16:30:55 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2006-08-15 16:30:55 (GMT)
commit18bf46c70ad5610ca6cd2438f27588aaa713d153 (patch)
treec6d074ffae0c7d892e82b9f3a49374f91fdfe6e2 /backend
parent5536f17da9d02866c0286b37cd6ac69fcb0c1fb3 (diff)
Remove GNOME_VFS_OPEN_TRUNCATE flag which is only available with gnome-vfs
2006-08-14 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ev-attachment.c: (ev_attachment_save): Remove GNOME_VFS_OPEN_TRUNCATE flag which is only available with gnome-vfs >= 2.9.3 and it's not really needed. Fixes bug #351493
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,