summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index a18dc13..c879993 100644
--- a/src/main.c
+++ b/src/main.c
@@ -248,9 +248,11 @@ main (int argc, char **argv)
}
error = NULL;
- if (!polkit_agent_register_listener (listener,
+ if (!polkit_agent_listener_register (listener,
+ POLKIT_AGENT_REGISTER_FLAGS_NONE,
session,
"/org/mate/PolicyKit1/AuthenticationAgent",
+ NULL,
&error))
{
g_printerr ("Cannot register authentication agent: %s\n", error->message);