summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2016-07-15 05:48:23 +0200
committerJürg Billeter <j@bitron.ch>2016-07-15 05:48:23 +0200
commita3a3cd81a3c69438e7a6219619b21fbf2b891ba1 (patch)
treec3f9a580e9bce25429bd36294c0abbd528de97ad
parent606cbe41ae8a3d7188807e79733224705c9837f7 (diff)
downloadlibgee-a3a3cd81a3c69438e7a6219619b21fbf2b891ba1.tar.gz
Fix type parameters in LightMapFuture.wait_until/async
-rw-r--r--gee/lightmapfuture.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/gee/lightmapfuture.vala b/gee/lightmapfuture.vala
index 86daf5e..a19da3b 100644
--- a/gee/lightmapfuture.vala
+++ b/gee/lightmapfuture.vala
@@ -41,8 +41,8 @@ internal class Gee.LightMapFuture<A, G> : Object, Future<A> {
return _func (_base.wait ());
}
- public bool wait_until (int64 end_time, out unowned G? value = null) throws Gee.FutureError {
- unowned A arg;
+ public bool wait_until (int64 end_time, out unowned A? value = null) throws Gee.FutureError {
+ unowned G arg;
bool result;
value = null;
if ((result = _base.wait_until (end_time, out arg))) {
@@ -51,8 +51,8 @@ internal class Gee.LightMapFuture<A, G> : Object, Future<A> {
return result;
}
- public async unowned G wait_async () throws Gee.FutureError {
- unowned A arg = yield _base.wait_async ();
+ public async unowned A wait_async () throws Gee.FutureError {
+ unowned G arg = yield _base.wait_async ();
return _func (arg);
}