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.vala3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/player-controller.vala b/src/player-controller.vala
index bccf586..79b63d7 100644
--- a/src/player-controller.vala
+++ b/src/player-controller.vala
@@ -53,7 +53,6 @@ public class PlayerController : GLib.Object
public PlayerController(Dbusmenu.Menuitem root, string client_name, int offset, state initial_state)
{
- this.mpris2 = false;
this.root_menu = root;
this.name = format_client_name(client_name.strip());
this.custom_items = new ArrayList<PlayerItem>();
@@ -100,7 +99,7 @@ public class PlayerController : GLib.Object
debug("establish_mpris_connection - Not ready to connect");
return;
}
- this.mpris_bridge = new MprisBridge();
+ this.mpris_bridge = new MprisBridge(this);
this.determine_state();
}