mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
printing: Fill device URI for non-Avahi printers
Device URI was not filled for non-Avahi printers by my previous commit. I've added it back. It was a mistake during rebasing of the patch to current master.
This commit is contained in:
parent
91a802a1e5
commit
6ddc214e68
@ -2413,6 +2413,11 @@ cups_create_printer (GtkPrintBackendCups *cups_backend,
|
||||
cups_printer->device_uri = g_strdup_printf ("/%s",
|
||||
info->avahi_resource_path);
|
||||
}
|
||||
else
|
||||
{
|
||||
cups_printer->device_uri = g_strdup_printf ("/printers/%s",
|
||||
info->printer_name);
|
||||
}
|
||||
|
||||
/* Check to see if we are looking at a class */
|
||||
if (info->member_uris)
|
||||
|
Loading…
Reference in New Issue
Block a user