Movie list store: remove poster loading leftovers
authorPhilipp Zabel <philipp.zabel@gmail.com>
Sun, 8 Aug 2010 13:55:10 +0000 (15:55 +0200)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Sun, 8 Aug 2010 14:06:18 +0000 (16:06 +0200)
Poster loading is handled by the list view.

src/movie-list-store.vala

index 52a3c3d..d30105c 100644 (file)
@@ -197,20 +197,6 @@ public class MovieListStore : ListStore, TreeModel {
                view.thaw_child_notify ();
        }
 
-       private void receive_poster_icon (Gdk.Pixbuf pixbuf, Movie movie) {
-               var poster = new Poster ();
-               poster.icon = pixbuf;
-               movie.poster = poster;
-       }
-
-       private void receive_poster_small (Gdk.Pixbuf pixbuf, Movie movie) {
-               var poster = new Poster ();
-               if (movie.poster != null && movie.poster.icon != null)
-                       poster.icon = movie.poster.icon;
-               poster.small = pixbuf;
-               movie.poster = poster;
-       }
-
        // Implement TreeModel interface
        public virtual GLib.Type get_column_type (int index_) {
                return_val_if_fail (index_ >= 0 && index_ < Columns.N_COLUMNS, 0);