aboutsummaryrefslogtreecommitdiff
path: root/src/player-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-08-12 20:36:14 +0100
committerConor Curran <conor.curran@canonical.com>2010-08-12 20:36:14 +0100
commit30a697a1027229c23857ced856c0fdbd15b40d14 (patch)
tree7d2a868799eb2457469e61d44cc6834774a74252 /src/player-controller.vala
parent72ffb2c3c096cf0e7ece12c93bfeff5b651fed13 (diff)
downloadayatana-indicator-sound-30a697a1027229c23857ced856c0fdbd15b40d14.tar.gz
ayatana-indicator-sound-30a697a1027229c23857ced856c0fdbd15b40d14.tar.bz2
ayatana-indicator-sound-30a697a1027229c23857ced856c0fdbd15b40d14.zip
moving mpris2 to gdbus, the horror
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();
}