base-modem: expect a GDBusMethodInvocation as context of the auth request

This commit is contained in:
Aleksander Morgado
2011-11-03 12:21:48 +01:00
parent 9a72ac80d0
commit f39923c97d
2 changed files with 3 additions and 5 deletions

View File

@@ -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,

View File

@@ -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,