aboutsummaryrefslogtreecommitdiff
path: root/src/player-controller.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/player-controller.vala')
-rw-r--r--src/player-controller.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player-controller.vala b/src/player-controller.vala
index 22a200e..ef1e130 100644
--- a/src/player-controller.vala
+++ b/src/player-controller.vala
@@ -84,7 +84,7 @@ public class PlayerController : GLib.Object
public void update_playing_info(HashMap<string, string> data)
{
debug("PlayerController - update_playing_info");
- MetadataMenuitem item = (MetadataMenuitem)this.custom_items[METADATA];
+ MetadataMenuitem item = this.custom_items[METADATA] as MetadataMenuitem;
item.update(data);
}