Skip to content

Commit

Permalink
thumbnails: Remove extra call to ev_document_get_page_size
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Garcia Campos committed Mar 30, 2014
1 parent aa76196 commit 13e3225
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion shell/ev-sidebar-thumbnails.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 13e3225

Please sign in to comment.