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;
|
return self->priv->valid;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
mm_base_modem_auth_request (MMBaseModem *self,
|
mm_base_modem_auth_request (MMBaseModem *self,
|
||||||
const gchar *authorization,
|
const gchar *authorization,
|
||||||
DBusGMethodInvocation *context,
|
GDBusMethodInvocation *invocation,
|
||||||
MMAuthRequestCb callback,
|
MMAuthRequestCb callback,
|
||||||
gpointer callback_data,
|
gpointer callback_data,
|
||||||
GDestroyNotify notify,
|
GDestroyNotify notify,
|
||||||
@@ -274,7 +272,7 @@ mm_base_modem_auth_request (MMBaseModem *self,
|
|||||||
return !!mm_auth_provider_request_auth (self->priv->authp,
|
return !!mm_auth_provider_request_auth (self->priv->authp,
|
||||||
authorization,
|
authorization,
|
||||||
G_OBJECT (self),
|
G_OBJECT (self),
|
||||||
context,
|
invocation,
|
||||||
callback,
|
callback,
|
||||||
callback_data,
|
callback_data,
|
||||||
notify,
|
notify,
|
||||||
|
@@ -69,7 +69,7 @@ gboolean mm_base_modem_get_valid (MMBaseModem *self);
|
|||||||
|
|
||||||
gboolean mm_base_modem_auth_request (MMBaseModem *self,
|
gboolean mm_base_modem_auth_request (MMBaseModem *self,
|
||||||
const gchar *authorization,
|
const gchar *authorization,
|
||||||
DBusGMethodInvocation *context,
|
GDBusMethodInvocation *context,
|
||||||
MMAuthRequestCb callback,
|
MMAuthRequestCb callback,
|
||||||
gpointer callback_data,
|
gpointer callback_data,
|
||||||
GDestroyNotify notify,
|
GDestroyNotify notify,
|
||||||
|
Reference in New Issue
Block a user