forked from AuroraMiddleware/gtk
cups: Use IPP api when necessary with CUPS 1.6
This commit is contained in:
parent
1067627131
commit
e8dcfad441
@ -1835,9 +1835,9 @@ cups_printer_handle_attribute (GtkPrintBackendCups *cups_backend,
|
|||||||
info->auth_info_required[i] = g_strdup (ippGetString (attr, i, NULL));
|
info->auth_info_required[i] = g_strdup (ippGetString (attr, i, NULL));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (strcmp (attr->name, "number-up-default") == 0)
|
else if (strcmp (ippGetName (attr), "number-up-default") == 0)
|
||||||
{
|
{
|
||||||
info->default_number_up = attr->values[0].integer;
|
info->default_number_up = ippGetInteger (attr, 0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user