From 13e32256ec0c8707ca992336f4336e2e088de0db Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sun, 30 Mar 2014 13:48:42 +0200 Subject: [PATCH] thumbnails: Remove extra call to ev_document_get_page_size --- shell/ev-sidebar-thumbnails.c | 1 - 1 file changed, 1 deletion(-) diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c index 38d71d91..65703e0f 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);