Fixes bug 589551.
// Inherited from Iterable<G>
//
- public Type get_element_type () {
- return typeof (G);
+ public Type element_type {
+ get { return typeof (G); }
}
public abstract Iterator<G> iterator ();
*/
public interface Gee.Iterable<G> : GLib.Object {
/**
- * Returns the type of the elements contained in this collection.
- *
- * @return the type of the elements contained in this collection
+ * The type of the elements in this collection.
*/
- public abstract Type get_element_type ();
+ public abstract Type element_type { get; }
/**
* Returns a Iterator that can be used for simple iteration over a
this.collection = collection;
}
- public Type get_element_type () {
- return typeof (G);
+ public Type element_type {
+ get { return typeof (G); }
}
public Gee.Iterator<G> iterator () {
this.list = list;
}
- public Type get_element_type () {
- return typeof (G);
+ public Type element_type {
+ get { return typeof (G); }
}
public Gee.Iterator<G> iterator () {
this.set = set;
}
- public Type get_element_type () {
- return typeof (G);
+ public Type element_type {
+ get { return typeof (G); }
}
public Gee.Iterator<G> iterator () {