Geary.RFC822.Message: Fix some missing nullable annotations
Now that vala is assert-checking params on async methods (GNOME/vala#1005), fix a few places where they turn up problems in the engine.
This commit is contained in:
parent
5606c47296
commit
ea8778cf62
1 changed files with 2 additions and 2 deletions
|
|
@ -519,7 +519,7 @@ public class Geary.RFC822.Message : BaseObject, EmailHeaderSet {
|
|||
private async GMime.Part? get_buffer_part(Memory.Buffer buffer,
|
||||
string basename,
|
||||
Geary.Mime.DispositionType disposition,
|
||||
GLib.Cancellable cancellable)
|
||||
GLib.Cancellable? cancellable)
|
||||
throws GLib.Error {
|
||||
Mime.ContentType? mime_type = Mime.ContentType.guess_type(
|
||||
basename,
|
||||
|
|
@ -559,7 +559,7 @@ public class Geary.RFC822.Message : BaseObject, EmailHeaderSet {
|
|||
private async GMime.Part finalise_attachment_part(GMime.Stream stream,
|
||||
GMime.Part part,
|
||||
GMime.ContentType content_type,
|
||||
GLib.Cancellable cancellable)
|
||||
GLib.Cancellable? cancellable)
|
||||
throws GLib.Error {
|
||||
|
||||
// Text parts should be scanned fully to determine best
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue