[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-14-gdad2dd344

paul at claws-mail.org paul at claws-mail.org
Wed Jul 21 10:15:17 CEST 2021


The branch, gtk3 has been updated
       via  dad2dd3449f5532eef05bbaf6f10172e42dde20d (commit)
      from  1080158b686c5bfbe59d5ac808722f4d200969bd (commit)

Summary of changes:
 src/plugins/pdf_viewer/poppler_viewer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit dad2dd3449f5532eef05bbaf6f10172e42dde20d
Author: paul <paul at claws-mail.org>
Date:   Wed Jul 21 09:15:13 2021 +0100

    fix bug 4511, 'Uses deprecated ghostscript operator'

diff --git a/src/plugins/pdf_viewer/poppler_viewer.c b/src/plugins/pdf_viewer/poppler_viewer.c
index 4aa62eeac..65951510f 100644
--- a/src/plugins/pdf_viewer/poppler_viewer.c
+++ b/src/plugins/pdf_viewer/poppler_viewer.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2019 Salvatore De Paolis & the Claws Mail Team
+ * Copyright (C) 1999-2021 the Claws Mail Team and Salvatore De Paolis
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -1339,7 +1339,7 @@ static void pdf_viewer_update(MimeViewer *_viewer, gboolean reload_file, int pag
 				tmpfile = get_tmp_file();
 				cmdline = g_strdup_printf(
 					"gs -dSAFER -dCompatibilityLevel=1.2 -q -dNOPAUSE -dBATCH "
-					  "-sDEVICE=pdfwrite -sOutputFile=%s -c .setpdfwrite -f \"%s\"",
+					  "-sDEVICE=pdfwrite -sOutputFile=%s -f \"%s\"",
 					tmpfile, viewer->filename);
 				result = execute_command_line(cmdline, FALSE, NULL);
 				if (result == 0) {

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list