diff options
| author | Alessio Treglia <alessio@debian.org> | 2010-08-17 10:58:50 +0200 | 
|---|---|---|
| committer | Alessio Treglia <alessio@debian.org> | 2010-08-17 10:58:50 +0200 | 
| commit | 7dba9edc970fa68a81378419e93b897a38a404d1 (patch) | |
| tree | 19e1474674e0c5d9ea95251e846fd794220b89e3 /src | |
| parent | 3409675e883b906444f42a9ed1ce3fd83412734c (diff) | |
| parent | 8e6c8048192d0a864c3c11b6cd3025572b527e8c (diff) | |
Merge commit 'upstream/2.31.90.2'
Diffstat (limited to 'src')
| -rw-r--r-- | src/book.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| @@ -439,12 +439,12 @@ book_save_pdf (Book *book, GFile *file, GError **error)          float page_width, page_height;          page = book_get_page (book, i); -        width = page_get_width (page); -        height = page_get_height (page); -        page_width = width * 72. / page_get_dpi (page); -        page_height = height * 72. / page_get_dpi (page);          image = page_get_image (page, TRUE); +        width = gdk_pixbuf_get_width (image); +        height = gdk_pixbuf_get_height (image);          pixels = gdk_pixbuf_get_pixels (image); +        page_width = width * 72. / page_get_dpi (page); +        page_height = height * 72. / page_get_dpi (page);          if (page_is_color (page)) {              int row; | 
