aboutsummaryrefslogtreecommitdiff
path: root/src/mm-auth-provider.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@gnu.org>2011-09-02 20:28:12 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:19 +0100
commitd47176a32c45da0f63ec5ab8024cf4e5f6467a7f (patch)
tree3914d9064c045e606d2da23eff392dbf9af43ea5 /src/mm-auth-provider.h
parent1e79a2d292e7e68430043d9741bfbbe01cd3206f (diff)
core: avoid using DBusGMethodInvocation in auth API
While porting to GDBus, use opaque pointers. This allows us to include either a DBusGMethodInvocation or a GDBusMethodInvocation in the 'context' pointer. Once fully ported to GDBus, we can safely change it back to make the context be a GDBusMethodInvocation.
Diffstat (limited to 'src/mm-auth-provider.h')
-rw-r--r--src/mm-auth-provider.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mm-auth-provider.h b/src/mm-auth-provider.h
index 07ccfa8b..beb79455 100644
--- a/src/mm-auth-provider.h
+++ b/src/mm-auth-provider.h
@@ -52,7 +52,7 @@ typedef struct {
MMAuthRequest * (*create_request) (MMAuthProvider *provider,
const char *authorization,
GObject *owner,
- DBusGMethodInvocation *context,
+ gpointer context,
MMAuthRequestCb callback,
gpointer callback_data,
GDestroyNotify notify);
@@ -64,7 +64,7 @@ GType mm_auth_provider_get_type (void);
MMAuthRequest *mm_auth_provider_request_auth (MMAuthProvider *provider,
const char *authorization,
GObject *owner,
- DBusGMethodInvocation *context,
+ gpointer context,
MMAuthRequestCb callback,
gpointer callback_data,
GDestroyNotify notify,