Fix compilation under vala 0.35.1. Bug 775533.

Patch thanks to gautier@damsy.net in Bug 775452.
This commit is contained in:
Michael James Gratton 2016-12-06 15:55:57 +11:00 committed by Michael Gratton
parent 5c8e838ea9
commit 9da8c372e2
2 changed files with 2 additions and 2 deletions

View file

@ -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();

View file

@ -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),