Coverity fix
authorColin Leroy <colin@colino.net>
Sat, 7 Jun 2014 20:20:23 +0000 (22:20 +0200)
committerColin Leroy <colin@colino.net>
Sat, 7 Jun 2014 20:20:23 +0000 (22:20 +0200)
src/plugins/pdf_viewer/poppler_viewer.c

index ea9e267..cccc08b 100644 (file)
@@ -388,8 +388,6 @@ static void pdf_viewer_render_selection(PdfViewer *viewer, PopplerRectangle *rec
 
        gdk_pixbuf_fill(sel_pb, SELECTION_COLOR);
 
-       page_pb = gtk_image_get_pixbuf(GTK_IMAGE(viewer->pdf_view));
-
        page_pb = gdk_pixbuf_new(GDK_COLORSPACE_RGB, 
                                        FALSE, 8, 
                                (int)(viewer->width * viewer->zoom),