aboutsummaryrefslogtreecommitdiff
path: root/src/accounts-service-access.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/accounts-service-access.vala')
-rw-r--r--src/accounts-service-access.vala6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/accounts-service-access.vala b/src/accounts-service-access.vala
index 2c73922..9d8b6ae 100644
--- a/src/accounts-service-access.vala
+++ b/src/accounts-service-access.vala
@@ -22,7 +22,7 @@ using PulseAudio;
using Notify;
using Gee;
-[DBus (name="com.canonical.UnityGreeter.List")]
+[DBus (name="org.ayatana.Greeter.List")]
interface GreeterListInterfaceAccess : Object
{
public abstract async string get_active_entry () throws IOError;
@@ -178,7 +178,7 @@ public class AccountsServiceAccess : Object
{
if (Environment.get_variable ("XDG_SESSION_CLASS") == "greeter") {
try {
- _greeter_proxy = yield Bus.get_proxy (BusType.SESSION, "com.canonical.UnityGreeter", "/list");
+ _greeter_proxy = yield Bus.get_proxy (BusType.SESSION, "org.ayatana.Greeter", "/list");
} catch (GLib.Error e) {
warning ("unable to get greeter proxy: %s", e.message);
return;
@@ -231,5 +231,3 @@ public class AccountsServiceAccess : Object
}
}
}
-
-