From: Ghee Teo Date: Mon, 10 Jul 2006 19:33:02 +0000 (+0000) Subject: Fixes crash when print using PAPI backend, bug #345012. X-Git-Tag: EVINCE_0_5_4~4 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=d626744c21e61733228f6dfc6b29dec1f38a92e4;p=evince.git Fixes crash when print using PAPI backend, bug #345012. 2006-07-10 Ghee Teo * shell/ev-utils.c: (using_postscript_printer): Fixes crash when print using PAPI backend, bug #345012. --- diff --git a/ChangeLog b/ChangeLog index 927bd0fa..09fe6a5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-07-10 Ghee Teo + + * shell/ev-utils.c: (using_postscript_printer): + + Fixes crash when print using PAPI backend, + bug #345012. + 2006-06-09 Pat Rondon * shell/ev-jobs.c: (ev_job_xfer_run): diff --git a/shell/ev-utils.c b/shell/ev-utils.c index b35b77bb..ba560d53 100644 --- a/shell/ev-utils.c +++ b/shell/ev-utils.c @@ -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;