~ubuntu-branches/ubuntu/precise/unity-lens-music/precise

« back to all changes in this revision

Viewing changes to src/filter-parser-genre.vala

  • Committer: Package Import Robot
  • Author(s): Didier Roche
  • Date: 2012-02-03 11:33:57 UTC
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: package-import@ubuntu.com-20120203113357-yop2ipbkuwiizbih
Tags: upstream-5.2.0
ImportĀ upstreamĀ versionĀ 5.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
  
24
24
  public class GenreFilterParser : FilterParser
25
25
  {
26
 
    public GenreFilterParser (CheckOptionFilter filter)
 
26
    public GenreFilterParser (CheckOptionFilterCompact filter)
27
27
    {
28
28
      base (filter);
29
29
      map = new Genre ();
39
39
 
40
40
    protected List<FilterOption> get_all_selected_genres ()
41
41
    {
42
 
      unowned List<FilterOption> options = (filter as CheckOptionFilter).options;
 
42
      unowned List<FilterOption> options = (filter as CheckOptionFilterCompact).options;
43
43
      var active = new List<FilterOption> ();
44
44
 
45
45
      foreach (FilterOption option in options)
51
51
      return active;
52
52
    }
53
53
  }
54
 
}
 
 
b'\\ No newline at end of file'
 
54
}