]> Pileus Git - ~andy/gtk/commitdiff
Bug 529386 – Printing options hidden by blacklisted option
authorMatthias Clasen <matthiasc@src.gnome.org>
Thu, 1 May 2008 00:37:20 +0000 (00:37 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 1 May 2008 00:37:20 +0000 (00:37 +0000)
        * modules/printbackend/cups/gtkprintbackendcups.c
        (cups_printer_get_options): Fix the blacklist handling.
        Patch by Marek Kašík.

svn path=/trunk/; revision=20058

ChangeLog
modules/printbackends/cups/gtkprintbackendcups.c

index 280e038fcbb8b2722a69eacddfa383a5639891e6..d1f90d8a72dc4d724625d563490c68e39ceec033 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-04-30  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 529386 – Printing options hidden by blacklisted option
+
+       * modules/printbackend/cups/gtkprintbackendcups.c
+       (cups_printer_get_options): Fix the blacklist handling. 
+       Patch by Marek Kašík.
+       
 2008-04-30  Richard Hult  <richard@imendio.com>
 
        * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
index 113388a142e1e9716d865b19ca68b1d8acf699ac..3c5e1844a27b6e22cb499aa9f8883cb6eb9cf6c6 100644 (file)
@@ -2484,7 +2484,7 @@ cups_printer_get_options (GtkPrinter           *printer,
 
   for (i = 0; i < num_opts; i++)
     {
-      if (STRING_IN_TABLE (opts->name, cups_option_blacklist))
+      if (STRING_IN_TABLE (opts[i].name, cups_option_blacklist))
         continue;
 
       name = get_option_name (opts[i].name);