printers: Use dialog cancellable in async call
Otherwise this could crash if the dialog is destroyed before the PPD is set.
This commit is contained in:
parent
3dda349aa3
commit
e20fd185c8
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ select_ppd_manually (GtkButton *button,
|
|||
{
|
||||
printer_set_ppd_file_async (self->printer_name,
|
||||
ppd_filename,
|
||||
NULL,
|
||||
self->cancellable,
|
||||
set_ppd_cb,
|
||||
self);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue