aboutsummaryrefslogtreecommitdiff
path: root/src/player-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-07-07 11:19:17 +0100
committerConor Curran <conor.curran@canonical.com>2011-07-07 11:19:17 +0100
commit86d5db7950332f942b2b7dba2bd9a921d71e162b (patch)
tree1cc408df719b1c77e6b9f55b9e2a396282382d18 /src/player-item.vala
parentf11a6bb0c8bc68d0a6972e94140f7b5d96881dba (diff)
parent0fbfa4d67da89c27a67c3b0144ecdd7f0b39185f (diff)
downloadayatana-indicator-sound-86d5db7950332f942b2b7dba2bd9a921d71e162b.tar.gz
ayatana-indicator-sound-86d5db7950332f942b2b7dba2bd9a921d71e162b.tar.bz2
ayatana-indicator-sound-86d5db7950332f942b2b7dba2bd9a921d71e162b.zip
merged the expand collapse branch
Diffstat (limited to 'src/player-item.vala')
-rw-r--r--src/player-item.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/player-item.vala b/src/player-item.vala
index 162dbea..7867653 100644
--- a/src/player-item.vala
+++ b/src/player-item.vala
@@ -61,6 +61,8 @@ public class PlayerItem : Dbusmenu.Menuitem
//debug("search key = %s", search_key);
Variant? v = data.lookup(search_key);
+ if (v == null) continue;
+
if (v.is_of_type ( VariantType.STRING )){
string update = v.get_string().strip();
//debug("with value : %s", update);