aboutsummaryrefslogtreecommitdiff
path: root/src/mpris2-interfaces.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2012-03-01 12:12:43 +0000
committerConor Curran <conor.curran@canonical.com>2012-03-01 12:12:43 +0000
commit00455609711cfc94e2488ad5a5012632bcbfee44 (patch)
treea6239444e0e75ecae0999a075ce8a81599655f51 /src/mpris2-interfaces.vala
parent5d56e1dc1ee21ec92028275690b5ce2f7595e68e (diff)
downloadayatana-indicator-sound-00455609711cfc94e2488ad5a5012632bcbfee44.tar.gz
ayatana-indicator-sound-00455609711cfc94e2488ad5a5012632bcbfee44.tar.bz2
ayatana-indicator-sound-00455609711cfc94e2488ad5a5012632bcbfee44.zip
how can we be sure the details struct is not null, is this the fix to that memory corruption
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 57b582d..ee86c2b 100644
--- a/src/mpris2-interfaces.vala
+++ b/src/mpris2-interfaces.vala
@@ -57,7 +57,7 @@ public struct PlaylistDetails{
// Active playlist property container
public struct ActivePlaylistContainer{
public bool valid;
- public PlaylistDetails details;
+ public PlaylistDetails? details;
}
[DBus (name = "org.mpris.MediaPlayer2.Playlists")]