Geary.ComposedEmail: Remove to_rfc822_message, it's redundant
Callers can just call the same thing that method does instead.
This commit is contained in:
parent
6d5f63692b
commit
97e0093e29
2 changed files with 3 additions and 8 deletions
|
|
@ -1771,7 +1771,9 @@ public class Composer.Widget : Gtk.EventBox, Geary.BaseInterface {
|
|||
if (this.draft_manager != null) {
|
||||
Geary.ComposedEmail draft = yield get_composed_email(null, true);
|
||||
yield this.draft_manager.update(
|
||||
yield draft.to_rfc822_message(null, null),
|
||||
yield new Geary.RFC822.Message.from_composed_email(
|
||||
draft, null, null
|
||||
),
|
||||
null,
|
||||
null
|
||||
);
|
||||
|
|
|
|||
|
|
@ -123,13 +123,6 @@ public class Geary.ComposedEmail : EmailHeaderSet, BaseObject {
|
|||
return this;
|
||||
}
|
||||
|
||||
public async Geary.RFC822.Message to_rfc822_message(string? message_id,
|
||||
GLib.Cancellable? cancellable) {
|
||||
return yield new RFC822.Message.from_composed_email(
|
||||
this, message_id, cancellable
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if an IMG SRC value is present in the HTML part.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue