From 52775364f7c66db32b420cd61fd619a60053af02 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Tue, 7 Feb 2012 20:45:19 +0100 Subject: [PATCH] fix rotate --- page_widget.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/page_widget.c b/page_widget.c index 2aeb627..cf0335c 100644 --- a/page_widget.c +++ b/page_widget.c @@ -243,10 +243,6 @@ zathura_page_widget_expose(GtkWidget* widget, GdkEventExpose* event) unsigned int page_height = widget->allocation.height; unsigned int page_width = widget->allocation.width; - if (priv->page->document->rotate % 180) { - page_height = widget->allocation.width; - page_width = widget->allocation.height; - } switch (priv->page->document->rotate) { case 90: