summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2006-05-31 14:06:02 +0000
committerAlexander Larsson <alexl@src.gnome.org>2006-05-31 14:06:02 +0000
commit50d17b73b68420097160d62028ceb27b6b0b1768 (patch)
tree0e3251ea39ea1bef6f94d0206e6183ca23ae1cad /modules
parentdf6580e5ffcce5cea9008140f9a86836ab2bc79a (diff)
downloadgtk+-50d17b73b68420097160d62028ceb27b6b0b1768.tar.gz
Further updates from the GtkPrintContext functions rename.
2006-05-31 Alexander Larsson <alexl@redhat.com> * gtk/gtk.symbols: * demos/gtk-demo/printing.c: * tests/print-editor.c: * tests/testnouiprint.c: * tests/testprint.c: * tests/testprintfileoperation.c: Further updates from the GtkPrintContext functions rename. * modules/printbackends/cups/gtkcupsutils.c: Always set requesting-user-name when doing cups requests.
Diffstat (limited to 'modules')
-rw-r--r--modules/printbackends/cups/gtkcupsutils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/printbackends/cups/gtkcupsutils.c b/modules/printbackends/cups/gtkcupsutils.c
index 2ebf4a785f..32503feab3 100644
--- a/modules/printbackends/cups/gtkcupsutils.c
+++ b/modules/printbackends/cups/gtkcupsutils.c
@@ -151,6 +151,10 @@ gtk_cups_request_new (http_t *connection,
"attributes-natural-language",
NULL, language->language);
+ gtk_cups_request_ipp_add_string (request, IPP_TAG_OPERATION, IPP_TAG_NAME,
+ "requesting-user-name",
+ NULL, cupsUser());
+
cupsLangFree (language);
return request;