diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2012-03-21 07:00:15 -0400 |
---|---|---|
committer | Package Import Robot <package-import@ubuntu.com> | 2012-03-21 07:00:15 -0400 |
commit | 454505bbeb03e21f073d64e2dbb118cc358b6f70 (patch) | |
tree | 25c9633d17be02e2374a9aa8e4dcb03641e13e5d /src/mpris2-controller.vala | |
parent | 5ef25627db7821695c39e9ee125b20fbdc3312e6 (diff) | |
parent | a198e844b900a514a4735cb17dd21ccf6a6a85ee (diff) | |
download | ayatana-indicator-sound-454505bbeb03e21f073d64e2dbb118cc358b6f70.tar.gz ayatana-indicator-sound-454505bbeb03e21f073d64e2dbb118cc358b6f70.tar.bz2 ayatana-indicator-sound-454505bbeb03e21f073d64e2dbb118cc358b6f70.zip |
* debian/patches/lp_960846.patch
- check that the active playlists container is not null (LP: #960846)
Diffstat (limited to 'src/mpris2-controller.vala')
-rw-r--r-- | src/mpris2-controller.vala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mpris2-controller.vala b/src/mpris2-controller.vala index 9cd02c4..2cc8d12 100644 --- a/src/mpris2-controller.vala +++ b/src/mpris2-controller.vala @@ -248,6 +248,9 @@ public class Mpris2Controller : GLib.Object private bool validate_playlists_details() { + if (this.playlists.ActivePlaylist == null){ + return false; + } if (this.playlists.ActivePlaylist.valid == false){ return false; } |