aboutsummaryrefslogtreecommitdiff
path: root/src/media-player-mpris.vala
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-10-02 09:10:49 -0500
committerTed Gould <ted@gould.cx>2014-10-02 09:10:49 -0500
commitbc76f6bec418085b700dedd9551d734f640a6e2a (patch)
tree06e1139128d7b669d29c1beafc7622b14f41fc1f /src/media-player-mpris.vala
parent599288f852bde2ee450d3d97d72ce03b4b68ef0a (diff)
parenta1043d02d1f75d86d059b1fe716ca6ac9d548ddd (diff)
downloadayatana-indicator-sound-bc76f6bec418085b700dedd9551d734f640a6e2a.tar.gz
ayatana-indicator-sound-bc76f6bec418085b700dedd9551d734f640a6e2a.tar.bz2
ayatana-indicator-sound-bc76f6bec418085b700dedd9551d734f640a6e2a.zip
Grabbing greeter branch as it has some AS stuff we want
Diffstat (limited to 'src/media-player-mpris.vala')
-rw-r--r--src/media-player-mpris.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media-player-mpris.vala b/src/media-player-mpris.vala
index 25ddac4..bf25e21 100644
--- a/src/media-player-mpris.vala
+++ b/src/media-player-mpris.vala
@@ -283,7 +283,7 @@ public class MediaPlayerMpris: MediaPlayer {
this.fetch_playlists ();
}
- void update_current_track (Variant metadata) {
+ void update_current_track (Variant? metadata) {
if (metadata != null) {
this.current_track = new Track (
sanitize_metadata_value (metadata.lookup_value ("xesam:artist", null)),