aboutsummaryrefslogtreecommitdiff
path: root/src/player-item.vala
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2011-07-08 04:28:33 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2011-07-08 04:28:33 +0200
commit34748e6a31bffb73eedaf2aba860929998c21ad7 (patch)
tree8b32428a2fa6783520051542d5a201683431a574 /src/player-item.vala
parent458442a3554c306f93fca1efb95103ba9ec6c8ff (diff)
parent14f54b95128ac1d17d1c7aa8b2bcf46853fff3d5 (diff)
downloadayatana-indicator-sound-34748e6a31bffb73eedaf2aba860929998c21ad7.tar.gz
ayatana-indicator-sound-34748e6a31bffb73eedaf2aba860929998c21ad7.tar.bz2
ayatana-indicator-sound-34748e6a31bffb73eedaf2aba860929998c21ad7.zip
Merge with Upstream
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);