diff options
author | Alessio Treglia <quadrispro@ubuntu.com> | 2010-04-16 10:03:39 +0200 |
---|---|---|
committer | Alessio Treglia <quadrispro@ubuntu.com> | 2010-04-16 10:03:39 +0200 |
commit | 279b3fab7a8fcee6ed831447b37e1ac5d0397d44 (patch) | |
tree | 8063b9cf696835ff810f18f9ec6c8539aaf90a7b /src/book.c | |
parent | 6d9871f7c7de6caca9eb78683bcba499119e1469 (diff) |
Imported Upstream version 1.0.2upstream/1.0.2
Diffstat (limited to 'src/book.c')
-rw-r--r-- | src/book.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -328,11 +328,8 @@ book_save_pdf_with_imagemagick (Book *book, GFile *file, GError **error) } /* Move to target URI */ - if (result) { - GFile *dest; + if (result) result = g_file_move (output_file, file, G_FILE_COPY_OVERWRITE, NULL, NULL, NULL, error); - g_object_unref (dest); - } /* Delete page files */ for (link = temporary_files; link; link = link->next) { |