diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-02-20 13:13:55 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-16 14:28:15 +0100 |
commit | 5f167fd199ce7cc359aa1d884df9b332aa669a79 (patch) | |
tree | 54d51e3e67877eb198356652e52511d4209a461e /src/mm-auth-request.h | |
parent | 080d046e643a203b7f37c464e38108f6083943ed (diff) |
Revert "core: avoid using DBusGMethodInvocation in auth API"
This reverts commit 013fd179f458d87bba9fd7657ffe1bd90169f231.
We will start using GDBus-only based code from now on.
Diffstat (limited to 'src/mm-auth-request.h')
-rw-r--r-- | src/mm-auth-request.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mm-auth-request.h b/src/mm-auth-request.h index 9660cef6..e22f0a23 100644 --- a/src/mm-auth-request.h +++ b/src/mm-auth-request.h @@ -47,18 +47,15 @@ typedef struct { GType mm_auth_request_get_type (void); -/* TODO: Change the context gpointer to be a GDBusMethodInvocation when - * fully ported to GDBus, and remove all (MMAuthRequestCb) casts */ - typedef void (*MMAuthRequestCb) (MMAuthRequest *req, GObject *owner, - gpointer context, + DBusGMethodInvocation *context, gpointer user_data); GObject *mm_auth_request_new (GType atype, const char *authorization, GObject *owner, - gpointer context, + DBusGMethodInvocation *context, MMAuthRequestCb callback, gpointer callback_data, GDestroyNotify notify); |