summaryrefslogtreecommitdiff
path: root/libview
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-09 11:09:31 +0100
committerinfirit <[email protected]>2014-12-09 23:02:26 +0100
commite155e2912b35146d5c9abba4a4f96530eee97dec (patch)
tree2f627151bfc433bbfc00a483ae70f22be967cea1 /libview
parent4c3a7e168575c4c8a0e235fe9da428759546ba2f (diff)
downloadatril-e155e2912b35146d5c9abba4a4f96530eee97dec.tar.bz2
atril-e155e2912b35146d5c9abba4a4f96530eee97dec.tar.xz
libview] Remove unused bin_window variable.
Diffstat (limited to 'libview')
-rwxr-xr-xlibview/ev-view.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 5e3b4d23..49436de1 100755
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -4517,7 +4517,6 @@ draw_one_page (EvView *view,
GdkRectangle *expose_area,
gboolean *page_ready)
{
- GdkWindow *bin_window;
GdkRectangle overlap;
GdkRectangle real_page_area;
gint current_page;
@@ -4537,11 +4536,6 @@ draw_one_page (EvView *view,
real_page_area.height -= (border->top + border->bottom);
*page_ready = TRUE;
-#if GTK_CHECK_VERSION (3, 0, 0)
- bin_window = gtk_widget_get_window (GTK_WIDGET (view));
-#else
- bin_window = gtk_layout_get_bin_window (GTK_LAYOUT (view));
-#endif
current_page = ev_document_model_get_page (view->model);
inverted_colors = ev_document_model_get_inverted_colors (view->model);
ev_document_misc_paint_one_page (cr,