[gtk+] Don't mix in user options of printer instances
- From: Marek Kašík <mkasik src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Don't mix in user options of printer instances
- Date: Thu, 24 Sep 2015 16:14:22 +0000 (UTC)
commit bf9c9f17627ebd049d8b2b5ccc6bab27ce37fcca
Author: Michael Weghorn <m weghorn posteo de>
Date: Thu Aug 13 22:36:05 2015 +0200
Don't mix in user options of printer instances
GTK+ currently does not support printer instances in the printing
dialog. This commit avoids user options set for specific instances of
a printer being accidently applied to the printer with the same name but
no specific instance defined.
https://bugzilla.gnome.org/show_bug.cgi?id=753628
https://bugzilla.gnome.org/show_bug.cgi?id=582747
modules/printbackends/cups/gtkprintbackendcups.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/modules/printbackends/cups/gtkprintbackendcups.c
b/modules/printbackends/cups/gtkprintbackendcups.c
index 44868dd..60f5263 100644
--- a/modules/printbackends/cups/gtkprintbackendcups.c
+++ b/modules/printbackends/cups/gtkprintbackendcups.c
@@ -3967,12 +3967,9 @@ cups_parse_user_options (const char *filename,
if (!*lineptr)
continue;
- /* NUL-terminate the name, stripping the instance name */
name = lineptr;
while (!isspace (*lineptr) && *lineptr)
{
- if (*lineptr == '/')
- *lineptr = '\0';
lineptr++;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]