[evince] thumbnails: Remove extra call to ev_document_get_page_size
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] thumbnails: Remove extra call to ev_document_get_page_size
- Date: Sun, 30 Mar 2014 12:12:45 +0000 (UTC)
commit 13e32256ec0c8707ca992336f4336e2e088de0db
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Sun Mar 30 13:48:42 2014 +0200
thumbnails: Remove extra call to ev_document_get_page_size
shell/ev-sidebar-thumbnails.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c
index 38d71d9..65703e0 100644
--- a/shell/ev-sidebar-thumbnails.c
+++ b/shell/ev-sidebar-thumbnails.c
@@ -463,7 +463,6 @@ get_size_for_page (EvSidebarThumbnails *sidebar_thumbnails,
gdouble width, height;
gint thumbnail_height;
- ev_document_get_page_size (priv->document, page, &width, NULL);
ev_document_get_page_size (priv->document, page, &width, &height);
thumbnail_height = (int)(THUMBNAIL_WIDTH * height / width + 0.5);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]