summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-09-09 18:47:25 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-09-09 18:47:25 +0200
commitbf54810e3f36c0397fa71c6319c76fe76257b9f5 (patch)
treeaac97a0c6a30d9943d50a1d98bc38160b110136b /plugins
parent3681fe237d4c9ed4b5a6f432c1002e25964207d8 (diff)
downloadconnman-bf54810e3f36c0397fa71c6319c76fe76257b9f5.tar.gz
connman-bf54810e3f36c0397fa71c6319c76fe76257b9f5.tar.bz2
connman-bf54810e3f36c0397fa71c6319c76fe76257b9f5.zip
Use D-Bus constants for PolicyKit plugin
Diffstat (limited to 'plugins')
-rw-r--r--plugins/polkit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/polkit.c b/plugins/polkit.c
index be72eb07..137dc9b1 100644
--- a/plugins/polkit.c
+++ b/plugins/polkit.c
@@ -27,13 +27,13 @@
#define CONNMAN_API_SUBJECT_TO_CHANGE
#include <connman/plugin.h>
-#include <connman/security.h>
+#include <connman/dbus.h>
static const GDBusSecurityTable polkit_security[] = {
- { CONNMAN_SECURITY_PRIVILEGE_MODIFY, "org.moblin.connman.modify",
+ { CONNMAN_PRIVILEGE_MODIFY, "org.moblin.connman.modify",
G_DBUS_SECURITY_FLAG_BUILTIN |
G_DBUS_SECURITY_FLAG_ALLOW_INTERACTION },
- { CONNMAN_SECURITY_PRIVILEGE_SECRET, "org.moblin.connman.secret",
+ { CONNMAN_PRIVILEGE_SECRET, "org.moblin.connman.secret",
G_DBUS_SECURITY_FLAG_BUILTIN |
G_DBUS_SECURITY_FLAG_ALLOW_INTERACTION },
{ }