diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2019-10-03 15:22:21 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2019-10-03 15:22:21 +0200 |
commit | 5204e98502aa1d0dc4a05c5d3f15b7c39c8d832c (patch) | |
tree | cf732995c187d192ce8eab868c5f60cd0982184e /src/threads | |
parent | 4b884ce062be787b9e64836146133a1066b679e3 (diff) | |
parent | de88de73ad9d13cc2a54668aa4bc6523c196ffa9 (diff) |
Update upstream source from tag 'upstream/0.30.7'
Update to upstream version '0.30.7'
with Debian dir 9549ff4a34004ef1e2ea60b54b2fb65fe1ddf75e
Diffstat (limited to 'src/threads')
-rw-r--r-- | src/threads/BackgroundJob.vala | 2 | ||||
-rw-r--r-- | src/threads/Semaphore.vala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/threads/BackgroundJob.vala b/src/threads/BackgroundJob.vala index 5d259e7..1c83ced 100644 --- a/src/threads/BackgroundJob.vala +++ b/src/threads/BackgroundJob.vala @@ -110,7 +110,7 @@ public abstract class BackgroundJob { private int completion_priority = Priority.HIGH; private int notification_priority = Priority.DEFAULT_IDLE; - public BackgroundJob(Object? owner = null, CompletionCallback? callback = null, + protected BackgroundJob(Object? owner = null, CompletionCallback? callback = null, Cancellable? cancellable = null, CancellationCallback? cancellation = null, AbstractSemaphore? completion_semaphore = null) { this.owner = owner; diff --git a/src/threads/Semaphore.vala b/src/threads/Semaphore.vala index 05b1f13..dcb9e6e 100644 --- a/src/threads/Semaphore.vala +++ b/src/threads/Semaphore.vala @@ -27,7 +27,7 @@ public abstract class AbstractSemaphore { private Mutex mutex = Mutex(); private Cond monitor = Cond(); - public AbstractSemaphore(Type type) { + protected AbstractSemaphore(Type type) { assert(type == Type.SERIAL || type == Type.BROADCAST); this.type = type; |