base-modem: expect a GDBusMethodInvocation as context of the auth request
This commit is contained in:
@@ -258,12 +258,10 @@ mm_base_modem_get_valid (MMBaseModem *self)
|
||||
return self->priv->valid;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
gboolean
|
||||
mm_base_modem_auth_request (MMBaseModem *self,
|
||||
const gchar *authorization,
|
||||
DBusGMethodInvocation *context,
|
||||
GDBusMethodInvocation *invocation,
|
||||
MMAuthRequestCb callback,
|
||||
gpointer callback_data,
|
||||
GDestroyNotify notify,
|
||||
@@ -274,7 +272,7 @@ mm_base_modem_auth_request (MMBaseModem *self,
|
||||
return !!mm_auth_provider_request_auth (self->priv->authp,
|
||||
authorization,
|
||||
G_OBJECT (self),
|
||||
context,
|
||||
invocation,
|
||||
callback,
|
||||
callback_data,
|
||||
notify,
|
||||
|
@@ -69,7 +69,7 @@ gboolean mm_base_modem_get_valid (MMBaseModem *self);
|
||||
|
||||
gboolean mm_base_modem_auth_request (MMBaseModem *self,
|
||||
const gchar *authorization,
|
||||
DBusGMethodInvocation *context,
|
||||
GDBusMethodInvocation *context,
|
||||
MMAuthRequestCb callback,
|
||||
gpointer callback_data,
|
||||
GDestroyNotify notify,
|
||||
|
Reference in New Issue
Block a user