Banshee.Gui.Widgets.CoverArtBrush.ShouldUpdate C# (CSharp) Method

ShouldUpdate() public method

public ShouldUpdate ( Banshee.Collection.TrackInfo track, int artworkSize ) : bool
track Banshee.Collection.TrackInfo
artworkSize int
return bool
        public bool ShouldUpdate(TrackInfo track, int artworkSize)
        {
            string new_artwork_id = track == null ? null : track.ArtworkId;
            return new_artwork_id != artwork_id || artwork_size != artworkSize;
        }