mpris: Fix wrong service destination
authorJens Georg <mail@jensge.org>
Sat, 23 Oct 2010 22:04:43 +0000 (00:04 +0200)
committerJens Georg <mail@jensge.org>
Sat, 23 Oct 2010 22:04:43 +0000 (00:04 +0200)
Left-over from dbus-glib to GDBus conversion

src/plugins/mpris/rygel-mpris-plugin.vala

index 3fe912a..141d09e 100644 (file)
@@ -47,7 +47,7 @@ public class Rygel.MPRIS.Plugin : Rygel.MediaRendererPlugin {
         try {
             // Create proxy to MediaPlayer.Player iface
             this.actual_player = Bus.get_proxy_sync (BusType.SESSION,
-                                                     DBUS_SERVICE,
+                                                     service_name,
                                                      MEDIA_PLAYER_PATH);
             // Create proxy to FreeDesktop.Properties iface
             this.properties = Bus.get_proxy_sync (BusType.SESSION,