engine: Fix fill_outbox_queue() prototype

cancellable can be null.
This commit is contained in:
Cédric Bellegarde 2023-10-02 18:37:34 +02:00
parent df6a4eb7ba
commit 2a85a24605

View file

@ -228,7 +228,7 @@ public class Geary.Smtp.ClientService : Geary.ClientService {
/** /**
* Loads any email in the outbox and adds them to the queue. * Loads any email in the outbox and adds them to the queue.
*/ */
private async void fill_outbox_queue(GLib.Cancellable cancellable) { private async void fill_outbox_queue(GLib.Cancellable? cancellable) {
debug("Filling queue"); debug("Filling queue");
try { try {
Gee.List<Email>? queued = yield this.outbox.list_email_by_id_async( Gee.List<Email>? queued = yield this.outbox.list_email_by_id_async(