[libgda/libgda-vala] Make DataModelIterable.stream a generic function.
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/libgda-vala] Make DataModelIterable.stream a generic function.
- Date: Tue, 6 Dec 2011 23:51:55 +0000 (UTC)
commit 5e68a96d873debcdc1dde72232b540d4cabf9c1b
Author: Daniel Espinosa <despinosa src gnome org>
Date: Tue Dec 6 17:51:02 2011 -0600
Make DataModelIterable.stream a generic function.
libgda/data/DataModelIterator.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgda/data/DataModelIterator.vala b/libgda/data/DataModelIterator.vala
index 4328c2c..301fea3 100644
--- a/libgda/data/DataModelIterator.vala
+++ b/libgda/data/DataModelIterator.vala
@@ -65,10 +65,10 @@
}
}
- public Gee.Iterator<Value?> stream<Value> (owned Gee.StreamFunc<Value?,Value?> f)
+ public Gee.Iterator<A> stream<A> (owned Gee.StreamFunc<Value?,A> f)
{
var iter = new DataModelIterator (this.model);
- return iter.stream<Value> (f);
+ return iter.stream<A> (f);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]