From 5bee67c032df8d9127c8c0aeb88cbd3c0c844b4b Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 20 Feb 2012 13:36:18 +0100 Subject: core: use GDBusMethodInvocation in the auth API --- src/mm-auth-request.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/mm-auth-request.h') diff --git a/src/mm-auth-request.h b/src/mm-auth-request.h index e22f0a23..9f002d43 100644 --- a/src/mm-auth-request.h +++ b/src/mm-auth-request.h @@ -16,8 +16,7 @@ #ifndef MM_AUTH_REQUEST_H #define MM_AUTH_REQUEST_H -#include -#include +#include #define MM_TYPE_AUTH_REQUEST (mm_auth_request_get_type ()) #define MM_AUTH_REQUEST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MM_TYPE_AUTH_REQUEST, MMAuthRequest)) @@ -49,13 +48,13 @@ GType mm_auth_request_get_type (void); typedef void (*MMAuthRequestCb) (MMAuthRequest *req, GObject *owner, - DBusGMethodInvocation *context, + GDBusMethodInvocation *context, gpointer user_data); GObject *mm_auth_request_new (GType atype, const char *authorization, GObject *owner, - DBusGMethodInvocation *context, + GDBusMethodInvocation *context, MMAuthRequestCb callback, gpointer callback_data, GDestroyNotify notify); @@ -69,4 +68,3 @@ void mm_auth_request_callback (MMAuthRequest *req); void mm_auth_request_dispose (MMAuthRequest *req); #endif /* MM_AUTH_REQUEST_H */ - -- cgit v1.2.3-70-g09d2