]> www.fi.muni.cz Git - evince.git/commitdiff
Fixes crash when print using PAPI backend, bug #345012.
authorGhee Teo <ghee.teo@sun.com>
Mon, 10 Jul 2006 19:33:02 +0000 (19:33 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Mon, 10 Jul 2006 19:33:02 +0000 (19:33 +0000)
2006-07-10  Ghee Teo  <ghee.teo@sun.com>

* shell/ev-utils.c: (using_postscript_printer):

Fixes crash when print using PAPI backend,
bug #345012.

ChangeLog
shell/ev-utils.c

index 927bd0fa45ea13158d98cf023d533492fedf9285..09fe6a5ffde933b90eb97d7415e748a1b192883e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-07-10  Ghee Teo  <ghee.teo@sun.com>
+
+       * shell/ev-utils.c: (using_postscript_printer):
+       
+       Fixes crash when print using PAPI backend,
+       bug #345012.
+
 2006-06-09  Pat Rondon  <pmr@patrondon.org>
 
        * shell/ev-jobs.c: (ev_job_xfer_run):
index b35b77bba21828794a79cd53d9dd0addeb531ce8..ba560d53f2effc42fda4f71c90640150f3cb768c 100644 (file)
@@ -251,6 +251,8 @@ using_postscript_printer (GnomePrintConfig *config)
                        return TRUE;
                else if (!strcmp ((const gchar *)transport, "LPD"))
                        return TRUE;
+               else if (!strcmp ((const gchar *)transport, "PAPI"))
+                       return TRUE;
        }
 
        return FALSE;