aboutsummaryrefslogtreecommitdiff
path: root/src/transport-menu-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-01-25 14:55:25 -0600
committerConor Curran <conor.curran@canonical.com>2011-01-25 14:55:25 -0600
commitd45fd344a30bc917c45aa07458e8961ba3018f69 (patch)
tree4d923ffe24f7ebc9b16da929dcb7244971250631 /src/transport-menu-item.vala
parent329fda69862c649131c22fbac7e410c2af3603ae (diff)
downloadayatana-indicator-sound-d45fd344a30bc917c45aa07458e8961ba3018f69.tar.gz
ayatana-indicator-sound-d45fd344a30bc917c45aa07458e8961ba3018f69.tar.bz2
ayatana-indicator-sound-d45fd344a30bc917c45aa07458e8961ba3018f69.zip
spotify crasher fixed
Diffstat (limited to 'src/transport-menu-item.vala')
-rw-r--r--src/transport-menu-item.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport-menu-item.vala b/src/transport-menu-item.vala
index e93f0bb..b8f55b5 100644
--- a/src/transport-menu-item.vala
+++ b/src/transport-menu-item.vala
@@ -44,7 +44,8 @@ public class TransportMenuitem : PlayerItem
{
debug("UPDATING THE TRANSPORT DBUSMENUITEM PLAY STATE WITH VALUE %i",
(int)update);
- this.property_set_int(MENUITEM_PLAY_STATE, update);
+ int temp = (int)update;
+ this.property_set_int(MENUITEM_PLAY_STATE, temp);
}
public override void handle_event(string name,