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

View File

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