summaryrefslogtreecommitdiff
path: root/src/book.c
diff options
context:
space:
mode:
authorAlessio Treglia <quadrispro@ubuntu.com>2010-04-14 12:24:34 +0200
committerAlessio Treglia <quadrispro@ubuntu.com>2010-04-14 12:24:34 +0200
commit6d9871f7c7de6caca9eb78683bcba499119e1469 (patch)
tree04eb4173a17d79fbf6057539b0762ae7bccc4d60 /src/book.c
parentcf7d885d901b0abdccaad5cc3305a080744eaf5b (diff)
Imported Upstream version 1.0.0upstream/1.0.0
Diffstat (limited to 'src/book.c')
-rw-r--r--src/book.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/book.c b/src/book.c
index 6bf4d0a..036d133 100644
--- a/src/book.c
+++ b/src/book.c
@@ -321,6 +321,7 @@ book_save_pdf_with_imagemagick (Book *book, GFile *file, GError **error)
g_warning ("stdout: %s", stdout_text);
g_warning ("stderr: %s", stderr_text);
result = FALSE;
+ g_set_error (error, BOOK_TYPE, 0, "ImageMagick returned error code %d, command line was: %s", exit_status, command_line->str);
}
g_free (stdout_text);
g_free (stderr_text);