aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-02-20 13:13:55 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-16 14:28:15 +0100
commit5f167fd199ce7cc359aa1d884df9b332aa669a79 (patch)
tree54d51e3e67877eb198356652e52511d4209a461e /src/mm-modem.c
parent080d046e643a203b7f37c464e38108f6083943ed (diff)
Revert "core: avoid using DBusGMethodInvocation in auth API"
This reverts commit 013fd179f458d87bba9fd7657ffe1bd90169f231. We will start using GDBus-only based code from now on.
Diffstat (limited to 'src/mm-modem.c')
-rw-r--r--src/mm-modem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mm-modem.c b/src/mm-modem.c
index 27c55c80..012e3203 100644
--- a/src/mm-modem.c
+++ b/src/mm-modem.c
@@ -491,7 +491,7 @@ impl_modem_reset (MMModem *modem, DBusGMethodInvocation *context)
if (!mm_modem_auth_request (MM_MODEM (modem),
MM_AUTHORIZATION_DEVICE_CONTROL,
context,
- (MMAuthRequestCb)reset_auth_cb,
+ reset_auth_cb,
NULL, NULL,
&error)) {
dbus_g_method_return_error (context, error);
@@ -544,7 +544,7 @@ impl_modem_factory_reset (MMModem *modem,
if (!mm_modem_auth_request (MM_MODEM (modem),
MM_AUTHORIZATION_DEVICE_CONTROL,
context,
- (MMAuthRequestCb)factory_reset_auth_cb,
+ factory_reset_auth_cb,
g_strdup (code),
g_free,
&error)) {