diff --git a/modules/printbackends/gtkprintbackendcups.c b/modules/printbackends/gtkprintbackendcups.c index 6453e824d9..f3435b57bb 100644 --- a/modules/printbackends/gtkprintbackendcups.c +++ b/modules/printbackends/gtkprintbackendcups.c @@ -647,7 +647,9 @@ add_cups_options (const char *key, custom_value = TRUE; break; +#if CUPS_VERSION_MAJOR == 2 && CUPS_VERSION_MINOR >= 3 case PPD_CUSTOM_UNKNOWN: +#endif default : custom_value = FALSE; }