summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-12-27 00:28:18 -0800
committerStefano Karapetsas <[email protected]>2012-12-27 00:28:18 -0800
commit29c348cdf95c8ddac41a027cc3a7e09d4fdc8560 (patch)
tree9cf97da4f6e957738740eb0115c03346732ff205 /src/main.c
parentd6c0362e70e695b1da921331f136d396d021f44c (diff)
parent12c23d62d0932bcecced3c2621674b89c4e6d265 (diff)
downloadmate-polkit-29c348cdf95c8ddac41a027cc3a7e09d4fdc8560.tar.bz2
mate-polkit-29c348cdf95c8ddac41a027cc3a7e09d4fdc8560.tar.xz
Merge pull request #3 from sbalneav/master
Fixed deprecation, compile error & warnings.
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);