core: avoid using DBusGMethodInvocation in auth API

While porting to GDBus, use opaque pointers. This allows us to include either a
DBusGMethodInvocation or a GDBusMethodInvocation in the 'context' pointer.

Once fully ported to GDBus, we can safely change it back to make the context be
a GDBusMethodInvocation.
This commit is contained in:
Aleksander Morgado
2012-03-15 14:14:19 +01:00
committed by Aleksander Morgado
parent 1e79a2d292
commit d47176a32c
16 changed files with 66 additions and 52 deletions
+1 -1
View File
@@ -219,7 +219,7 @@ impl_modem_cdma_get_esn (MMModemCdma *self, DBusGMethodInvocation *context)
if (!mm_modem_auth_request (MM_MODEM (self),
MM_AUTHORIZATION_DEVICE_INFO,
context,
esn_auth_cb,
(MMAuthRequestCb)esn_auth_cb,
NULL,
NULL,
&error)) {