[libgee] Fix transfering the ownership in Gee.FlatMapFuture.go_map



commit 3410f06a5390a8df77d324a5e5f010e91ce3ed1e
Author: Maciej Piechotka <uzytkownik2 gmail com>
Date:   Fri Jul 12 20:49:48 2013 +0200

    Fix transfering the ownership in Gee.FlatMapFuture.go_map

 gee/flatmapfuture.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gee/flatmapfuture.vala b/gee/flatmapfuture.vala
index 20020ec..76e95ae 100644
--- a/gee/flatmapfuture.vala
+++ b/gee/flatmapfuture.vala
@@ -140,7 +140,7 @@ internal class Gee.FlatMapFuture<A, G> : Object, Future<A> {
 
                Future.WhenDoneArrayElement<A>[] when_done = (owned)_when_done;
                for (int i = 0; i < _when_done.length; i++) {
-                       _mapped.when_done ((owned)when_done[i].func);
+                       _mapped.when_done (when_done[i].func);
                }
                _base = null;
                _func = null;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]