diff options
Diffstat (limited to 'libview/ev-view.c')
-rwxr-xr-x | libview/ev-view.c | 6 |
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, |