|
|
60072f |
From 5c7cc82171f1312c9af2df6b5d5cc07c5f17be50 Mon Sep 17 00:00:00 2001
|
|
|
60072f |
From: Rui Matos <tiagomatos@gmail.com>
|
|
|
60072f |
Date: Mon, 23 Oct 2017 16:06:14 +0200
|
|
|
60072f |
Subject: [PATCH] printers: Fix compilation with RHEL cups version
|
|
|
60072f |
|
|
|
60072f |
---
|
|
|
60072f |
panels/printers/pp-printer.c | 2 +-
|
|
|
60072f |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
60072f |
|
|
|
60072f |
diff --git a/panels/printers/pp-printer.c b/panels/printers/pp-printer.c
|
|
|
60072f |
index 79a6301a0..bec3b962c 100644
|
|
|
60072f |
--- a/panels/printers/pp-printer.c
|
|
|
60072f |
+++ b/panels/printers/pp-printer.c
|
|
|
60072f |
@@ -551,7 +551,7 @@ print_file_thread (GTask *task,
|
|
|
60072f |
{
|
|
|
60072f |
if (ippGetState (response) == IPP_ERROR)
|
|
|
60072f |
g_warning ("An error has occured during printing of test page.");
|
|
|
60072f |
- if (ippGetState (response) == IPP_STATE_IDLE)
|
|
|
60072f |
+ if (ippGetState (response) == IPP_IDLE)
|
|
|
60072f |
ret = TRUE;
|
|
|
60072f |
|
|
|
60072f |
ippDelete (response);
|
|
|
60072f |
--
|
|
|
60072f |
2.13.6
|
|
|
60072f |
|
|
|
60072f |
--- gnome-control-center-3.28.1/panels/printers/pp-job.c.orig 2018-04-10 15:18:04.000000000 +0200
|
|
|
60072f |
+++ gnome-control-center-3.28.1/panels/printers/pp-job.c 2018-05-17 16:52:50.139979170 +0200
|
|
|
60072f |
@@ -449,7 +449,7 @@
|
|
|
60072f |
|
|
|
60072f |
length = g_strv_length (auth_info);
|
|
|
60072f |
|
|
|
60072f |
- request = ippNewRequest (IPP_OP_CUPS_AUTHENTICATE_JOB);
|
|
|
60072f |
+ request = ippNewRequest (CUPS_AUTHENTICATE_JOB);
|
|
|
60072f |
ippAddString (request, IPP_TAG_OPERATION, IPP_TAG_URI,
|
|
|
60072f |
"job-uri", NULL, job_uri);
|
|
|
60072f |
ippAddString (request, IPP_TAG_OPERATION, IPP_TAG_NAME,
|