diff options
Diffstat (limited to 'src/media-player-list-greeter.vala')
-rw-r--r-- | src/media-player-list-greeter.vala | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/media-player-list-greeter.vala b/src/media-player-list-greeter.vala index a36e970..4842dc3 100644 --- a/src/media-player-list-greeter.vala +++ b/src/media-player-list-greeter.vala @@ -29,12 +29,9 @@ public class MediaPlayerListGreeter : MediaPlayerList { HashTable<string, MediaPlayerUser> players = new HashTable<string, MediaPlayerUser>(str_hash, str_equal); public MediaPlayerListGreeter () { - var bus_name = Environment.get_variable ("UNITY_GREETER_DBUS_NAME"); - if (bus_name == null) - bus_name = "com.canonical.UnityGreeter"; Bus.get_proxy.begin<UnityGreeterList> ( BusType.SESSION, - bus_name, + "com.canonical.UnityGreeter", "/list", DBusProxyFlags.NONE, null, |