aboutsummaryrefslogtreecommitdiff
path: root/src/player-item.vala
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-07-07 15:37:26 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-07-07 15:37:26 -0400
commit4fe864d53eea581c95685e31a4372a83f87fce55 (patch)
treebea6d34e86a2f4f4dd91a2fac0f1c862c0069f81 /src/player-item.vala
parentfbe33a6d8e37468d5f01c5747c9ccb1763208db6 (diff)
parent14f54b95128ac1d17d1c7aa8b2bcf46853fff3d5 (diff)
downloadayatana-indicator-sound-4fe864d53eea581c95685e31a4372a83f87fce55.tar.gz
ayatana-indicator-sound-4fe864d53eea581c95685e31a4372a83f87fce55.tar.bz2
ayatana-indicator-sound-4fe864d53eea581c95685e31a4372a83f87fce55.zip
Import upstream version 0.7.3
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);