--- gtk+-2.24.10/modules/printbackends/cups/gtkprintbackendcups.c.orig	2012-03-15 14:40:43.688053307 -0400
+++ gtk+-2.24.10/modules/printbackends/cups/gtkprintbackendcups.c	2012-03-15 14:45:49.363054143 -0400
@@ -511,6 +511,7 @@
 
   key = key + strlen ("cups-");
 
+#ifdef HAVE_CUPS_API_1_2
   if (printer && printer->ppd_file)
     {
       ppd_coption_t *coption;
@@ -535,6 +536,7 @@
             custom_value = TRUE;
         }
     }
+#endif
 
   /* Add "Custom." prefix to custom values. */
   if (custom_value)
