gtk+ r20058 - in trunk: . modules/printbackends/cups



Author: matthiasc
Date: Thu May  1 00:37:20 2008
New Revision: 20058
URL: http://svn.gnome.org/viewvc/gtk+?rev=20058&view=rev

Log:
        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.




Modified:
   trunk/ChangeLog
   trunk/modules/printbackends/cups/gtkprintbackendcups.c

Modified: trunk/modules/printbackends/cups/gtkprintbackendcups.c
==============================================================================
--- trunk/modules/printbackends/cups/gtkprintbackendcups.c	(original)
+++ trunk/modules/printbackends/cups/gtkprintbackendcups.c	Thu May  1 00:37:20 2008
@@ -2484,7 +2484,7 @@
 
   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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]