diff options
author | Aleksander Morgado <aleksander@gnu.org> | 2011-09-02 20:28:12 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:19 +0100 |
commit | d47176a32c45da0f63ec5ab8024cf4e5f6467a7f (patch) | |
tree | 3914d9064c045e606d2da23eff392dbf9af43ea5 /src/mm-modem-gsm-ussd.c | |
parent | 1e79a2d292e7e68430043d9741bfbbe01cd3206f (diff) |
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.
Diffstat (limited to 'src/mm-modem-gsm-ussd.c')
-rw-r--r-- | src/mm-modem-gsm-ussd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mm-modem-gsm-ussd.c b/src/mm-modem-gsm-ussd.c index 614999cb..23d3d478 100644 --- a/src/mm-modem-gsm-ussd.c +++ b/src/mm-modem-gsm-ussd.c @@ -232,7 +232,7 @@ impl_modem_gsm_ussd_initiate (MMModemGsmUssd *modem, if (!mm_modem_auth_request (MM_MODEM (modem), MM_AUTHORIZATION_USSD, context, - ussd_initiate_auth_cb, + (MMAuthRequestCb)ussd_initiate_auth_cb, info, ussd_auth_info_destroy, &error)) { @@ -282,7 +282,7 @@ impl_modem_gsm_ussd_respond (MMModemGsmUssd *modem, if (!mm_modem_auth_request (MM_MODEM (modem), MM_AUTHORIZATION_USSD, context, - ussd_respond_auth_cb, + (MMAuthRequestCb)ussd_respond_auth_cb, info, ussd_auth_info_destroy, &error)) { @@ -323,7 +323,7 @@ impl_modem_gsm_ussd_cancel (MMModemGsmUssd *modem, if (!mm_modem_auth_request (MM_MODEM (modem), MM_AUTHORIZATION_USSD, context, - ussd_cancel_auth_cb, + (MMAuthRequestCb)ussd_cancel_auth_cb, info, ussd_auth_info_destroy, &error)) { |