diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-02-20 13:36:18 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-16 14:28:15 +0100 |
commit | 5bee67c032df8d9127c8c0aeb88cbd3c0c844b4b (patch) | |
tree | 096d63dda3141626692eddf313c56070df06fc43 /src/mm-auth-provider.h | |
parent | 5f167fd199ce7cc359aa1d884df9b332aa669a79 (diff) |
core: use GDBusMethodInvocation in the auth API
Diffstat (limited to 'src/mm-auth-provider.h')
-rw-r--r-- | src/mm-auth-provider.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mm-auth-provider.h b/src/mm-auth-provider.h index 07ccfa8b..380c1962 100644 --- a/src/mm-auth-provider.h +++ b/src/mm-auth-provider.h @@ -16,8 +16,7 @@ #ifndef MM_AUTH_PROVIDER_H #define MM_AUTH_PROVIDER_H -#include <glib-object.h> -#include <dbus/dbus-glib-lowlevel.h> +#include <gio/gio.h> #include "mm-auth-request.h" @@ -52,7 +51,7 @@ typedef struct { MMAuthRequest * (*create_request) (MMAuthProvider *provider, const char *authorization, GObject *owner, - DBusGMethodInvocation *context, + GDBusMethodInvocation *context, MMAuthRequestCb callback, gpointer callback_data, GDestroyNotify notify); @@ -64,7 +63,7 @@ GType mm_auth_provider_get_type (void); MMAuthRequest *mm_auth_provider_request_auth (MMAuthProvider *provider, const char *authorization, GObject *owner, - DBusGMethodInvocation *context, + GDBusMethodInvocation *context, MMAuthRequestCb callback, gpointer callback_data, GDestroyNotify notify, @@ -86,4 +85,3 @@ void mm_auth_provider_finish_request (MMAuthProvider *provider, void mm_auth_provider_cancel_request (MMAuthProvider *provider, MMAuthRequest *req); #endif /* MM_AUTH_PROVIDER_H */ - |