From 279b3fab7a8fcee6ed831447b37e1ac5d0397d44 Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Fri, 16 Apr 2010 10:03:39 +0200 Subject: Imported Upstream version 1.0.2 --- src/book.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/book.c') diff --git a/src/book.c b/src/book.c index 036d133..8493c84 100644 --- a/src/book.c +++ b/src/book.c @@ -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) { -- cgit v1.2.3