aboutsummaryrefslogtreecommitdiff
path: root/src/mm-auth-request-polkit.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-02-20 13:36:18 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-16 14:28:15 +0100
commit5bee67c032df8d9127c8c0aeb88cbd3c0c844b4b (patch)
tree096d63dda3141626692eddf313c56070df06fc43 /src/mm-auth-request-polkit.h
parent5f167fd199ce7cc359aa1d884df9b332aa669a79 (diff)
core: use GDBusMethodInvocation in the auth API
Diffstat (limited to 'src/mm-auth-request-polkit.h')
-rw-r--r--src/mm-auth-request-polkit.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mm-auth-request-polkit.h b/src/mm-auth-request-polkit.h
index 384ace85..0141f9cb 100644
--- a/src/mm-auth-request-polkit.h
+++ b/src/mm-auth-request-polkit.h
@@ -16,9 +16,8 @@
#ifndef MM_AUTH_REQUEST_POLKIT_H
#define MM_AUTH_REQUEST_POLKIT_H
-#include <glib-object.h>
+#include <gio/gio.h>
#include <polkit/polkit.h>
-#include <dbus/dbus-glib-lowlevel.h>
#include "mm-auth-request.h"
@@ -42,7 +41,7 @@ GType mm_auth_request_polkit_get_type (void);
GObject *mm_auth_request_polkit_new (PolkitAuthority *authority,
const char *authorization,
GObject *owner,
- DBusGMethodInvocation *context,
+ GDBusMethodInvocation *context,
MMAuthRequestCb callback,
gpointer callback_data,
GDestroyNotify notify);
@@ -50,4 +49,3 @@ GObject *mm_auth_request_polkit_new (PolkitAuthority *authority,
void mm_auth_request_polkit_cancel (MMAuthRequestPolkit *self);
#endif /* MM_AUTH_REQUEST_POLKIT_H */
-