aboutsummaryrefslogtreecommitdiff
path: root/src/mpris2-interfaces.vala
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2015-03-26 10:56:49 -0500
committerTed Gould <ted@gould.cx>2015-03-26 10:56:49 -0500
commit8da8d520e32d6ca8be071a88cd3702644e07ace4 (patch)
treee1ca7f6621605a90c76225cbfb4b899f50a66d5a /src/mpris2-interfaces.vala
parentebd19de1c09b54e060ae1b327651558a7a694d53 (diff)
downloadayatana-indicator-sound-8da8d520e32d6ca8be071a88cd3702644e07ace4.tar.gz
ayatana-indicator-sound-8da8d520e32d6ca8be071a88cd3702644e07ace4.tar.bz2
ayatana-indicator-sound-8da8d520e32d6ca8be071a88cd3702644e07ace4.zip
Handle Vala incorrectly returning null for a non-null type
Diffstat (limited to 'src/mpris2-interfaces.vala')
-rw-r--r--src/mpris2-interfaces.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mpris2-interfaces.vala b/src/mpris2-interfaces.vala
index cb68e84..a472d5c 100644
--- a/src/mpris2-interfaces.vala
+++ b/src/mpris2-interfaces.vala
@@ -37,7 +37,7 @@ public interface MprisPlayer : Object {
// properties
public abstract HashTable<string, Variant?> Metadata{owned get; set;}
public abstract int32 Position{owned get; set;}
- public abstract string PlaybackStatus{owned get; set;}
+ public abstract string? PlaybackStatus{owned get; set;}
// methods
public abstract async void PlayPause() throws IOError;
public abstract async void Next() throws IOError;