Fix compilation under vala 0.35.1. Bug 775533.
Patch thanks to gautier@damsy.net in Bug 775452.
This commit is contained in:
parent
5c8e838ea9
commit
9da8c372e2
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ private class Geary.Db.TransactionAsyncJob : BaseObject {
|
|||
private TransactionOutcome outcome = TransactionOutcome.ROLLBACK;
|
||||
private Error? caught_err = null;
|
||||
|
||||
protected TransactionAsyncJob(TransactionType type, TransactionMethod cb, Cancellable? cancellable) {
|
||||
public TransactionAsyncJob(TransactionType type, TransactionMethod cb, Cancellable? cancellable) {
|
||||
this.type = type;
|
||||
this.cb = cb;
|
||||
this.cancellable = cancellable ?? new Cancellable();
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ private class Geary.ImapDB.Attachment : Geary.Attachment {
|
|||
|
||||
private const string ATTACHMENTS_DIR = "attachments";
|
||||
|
||||
protected Attachment(File data_dir, string? filename, Mime.ContentType content_type, int64 filesize,
|
||||
public Attachment(File data_dir, string? filename, Mime.ContentType content_type, int64 filesize,
|
||||
int64 message_id, int64 attachment_id, Mime.ContentDisposition content_disposition,
|
||||
string? content_id, string? content_description) {
|
||||
base (generate_id(attachment_id),generate_file(data_dir, message_id, attachment_id, filename),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue