Movie list store: add get_editable method
authorPhilipp Zabel <philipp.zabel@gmail.com>
Tue, 17 Nov 2009 22:35:19 +0000 (23:35 +0100)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Tue, 17 Nov 2009 22:43:08 +0000 (23:43 +0100)
Returns the source's get_editable property.

src/movie-list-store.vala

index 6381028..68f72dc 100644 (file)
@@ -74,6 +74,10 @@ public class MovieListStore : ListStore, TreeModel {
                }
        }
 
+       public bool get_editable () {
+               return source.get_editable ();
+       }
+
        public bool get_iter_from_movie (out TreeIter iter, Movie movie_a) {
                if (get_iter_first (out iter)) {
                        do {