~ubuntu-branches/ubuntu/utopic/rhythmbox/utopic-proposed

« back to all changes in this revision

Viewing changes to shell/rb-play-order-random-by-rating.c

Tags: upstream-0.9.2
ImportĀ upstreamĀ versionĀ 0.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
static double
87
87
rb_random_by_rating_get_entry_weight (RBRandomPlayOrder *rorder, RhythmDB *db, RhythmDBEntry *entry)
88
88
{
89
 
        gdouble rating = rhythmdb_entry_get_double (db, entry, RHYTHMDB_PROP_RATING);
90
 
        return rating;
 
89
        return entry->rating;
91
90
}