diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2012-03-02 11:34:50 -0500 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2012-03-02 11:34:50 -0500 |
commit | 90b7db3502bdba472d8d5d914f70bb316746e072 (patch) | |
tree | 5537a7b33d2f49b584286b7c0e9fca242d25d969 /src/mpris2-interfaces.vala | |
parent | 35442241ba01a563a5295918b58878a47b644f63 (diff) | |
parent | 068f00cdfe7512aab9054af728e361226dcc9511 (diff) | |
download | ayatana-indicator-sound-90b7db3502bdba472d8d5d914f70bb316746e072.tar.gz ayatana-indicator-sound-90b7db3502bdba472d8d5d914f70bb316746e072.tar.bz2 ayatana-indicator-sound-90b7db3502bdba472d8d5d914f70bb316746e072.zip |
* New upstream release.
- Fixed memory corruption issue (LP: #897218)
- crashed with SIGABRT in pa_operation_unref (LP: #908682)
- Banshee shown in sound menu after removal until reboot (LP: #771202)
- Coverity PASS_BY_VALUE - CID 10620 (LP: #937451)
- App icon and name are not aligned (LP: #939929)
Diffstat (limited to 'src/mpris2-interfaces.vala')
-rw-r--r-- | src/mpris2-interfaces.vala | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mpris2-interfaces.vala b/src/mpris2-interfaces.vala index 5dab1d2..ee86c2b 100644 --- a/src/mpris2-interfaces.vala +++ b/src/mpris2-interfaces.vala @@ -49,15 +49,15 @@ public interface MprisPlayer : Object { // Playlist container public struct PlaylistDetails{ - public ObjectPath path; - public string name; - public string icon_path; + public ObjectPath? path; + public string? name; + public string? icon_path; } // Active playlist property container public struct ActivePlaylistContainer{ public bool valid; - public PlaylistDetails details; + public PlaylistDetails? details; } [DBus (name = "org.mpris.MediaPlayer2.Playlists")] @@ -69,11 +69,11 @@ public interface MprisPlaylists : Object { //methods public abstract async void ActivatePlaylist(ObjectPath playlist_id) throws IOError; - public abstract async PlaylistDetails[] GetPlaylists ( uint32 index, + public abstract async PlaylistDetails[]? GetPlaylists ( int32 index, uint32 max_count, string order, bool reverse_order ) throws IOError; //signals public signal void PlaylistChanged (PlaylistDetails details); -}
\ No newline at end of file +} |