diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | backend/ev-attachment.c | 3 |
2 files changed, 9 insertions, 2 deletions
@@ -1,4 +1,12 @@ +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 + 2006-08-15 Julien Rebetez <julienr@cvs.gnome.org> + * shell/ev-window.c: (ev_window_cmd_recent_file_activate): Fixed a compilation error if HAVE_GTK_RECENT isn't defined. 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, |