diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2015-08-13 22:36:05 +0200 |
---|---|---|
committer | Marek Kasik <mkasik@redhat.com> | 2015-09-24 18:14:07 +0200 |
commit | bf9c9f17627ebd049d8b2b5ccc6bab27ce37fcca (patch) | |
tree | 364fda5e877036bf2b4b862b5af654b2956130b8 /modules | |
parent | 020af232967a655e10eb8bf367945a097a61cd67 (diff) | |
download | gtk+-bf9c9f17627ebd049d8b2b5ccc6bab27ce37fcca.tar.gz |
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
Diffstat (limited to 'modules')
-rw-r--r-- | 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 44868ddec5..60f5263fe9 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++; } |