Fix copy/paste error, thanks to Coverity (#1403767).
authorwwp <wwp@free.fr>
Mon, 3 Apr 2017 16:12:10 +0000 (18:12 +0200)
committerwwp <wwp@free.fr>
Mon, 3 Apr 2017 16:12:10 +0000 (18:12 +0200)
src/plugins/pdf_viewer/poppler_viewer.c

index af3f19d..c020681 100644 (file)
@@ -1237,7 +1237,7 @@ static void pdf_viewer_show_controls(PdfViewer *viewer, gboolean show)
                gtk_widget_hide(viewer->widgets_table);
                gtk_widget_hide(viewer->rotate_right);
                gtk_widget_hide(viewer->rotate_left);
-               gtk_widget_show(viewer->print);
+               gtk_widget_hide(viewer->print);
                gtk_widget_hide(viewer->doc_info);
                gtk_widget_hide(viewer->doc_index);
        }