2006-10-02 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
Only use the group name field if cups is new enough. (#357280)
2006-10-02 Matthias Clasen <mclasen@redhat.com>
+ * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
+ Only use the group name field if cups is new enough. (#357280)
+
* gtk/gtksizegroup.c: Make sure that the quarks are
initialized before using them. (#353736)
conflicts = g_new0 (char, option->num_choices);
installed_options = NULL;
+#if CUPS_VERSION_MAJOR > 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR > 1) || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR == 1 && CUPS_VERSION_PATCH >= 18)
for (i = 0; i < ppd->num_groups; i++)
{
if (strcmp (ppd->groups[i].name, "InstallableOptions") == 0)
break;
}
}
+#endif
for (i = ppd->num_consts, constraint = ppd->consts; i > 0; i--, constraint++)
{