diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-06-14 13:17:25 +0200 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-06-14 13:17:25 +0200 |
commit | 95fdfeacc7b13034ca71aac2fe2e42fef17de253 (patch) | |
tree | cb365993f05155623f8b85e620b2373ef7bd0811 /src/player-item.vala | |
parent | 1f5e377b627ba6d170f0cf5fa30d4d1c5b502609 (diff) | |
download | ayatana-indicator-sound-95fdfeacc7b13034ca71aac2fe2e42fef17de253.tar.gz ayatana-indicator-sound-95fdfeacc7b13034ca71aac2fe2e42fef17de253.tar.bz2 ayatana-indicator-sound-95fdfeacc7b13034ca71aac2fe2e42fef17de253.zip |
spacing fixed
Diffstat (limited to 'src/player-item.vala')
-rw-r--r-- | src/player-item.vala | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/player-item.vala b/src/player-item.vala index f71b166..6d9c8e5 100644 --- a/src/player-item.vala +++ b/src/player-item.vala @@ -24,7 +24,7 @@ public class PlayerItem : Dbusmenu.Menuitem { public PlayerController owner {get; construct;} public string item_type { get; construct; } - private const int EMPTY = -1; + public const int EMPTY = -1; public PlayerItem(string type) { @@ -37,7 +37,6 @@ public class PlayerItem : Dbusmenu.Menuitem public void reset(HashSet<string> attrs){ foreach(string s in attrs){ - //debug("attempting to set prop %s to EMPTY", s); this.property_set_int(s, EMPTY); } } @@ -93,9 +92,7 @@ public class PlayerItem : Dbusmenu.Menuitem public bool populated(HashSet<string> attrs) { foreach(string prop in attrs){ - //debug("populated ? - prop: %s", prop); if(property_get_int(prop) != EMPTY){ - //debug("populated - prop %s and value %i", prop, property_get_int(prop)); return true; } } |