aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem-location.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-location.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-location.c')
-rw-r--r--src/mm-modem-location.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mm-modem-location.c b/src/mm-modem-location.c
index 130425ef..2dadd4ed 100644
--- a/src/mm-modem-location.c
+++ b/src/mm-modem-location.c
@@ -137,7 +137,7 @@ impl_modem_location_enable (MMModemLocation *modem,
if (!mm_modem_auth_request (MM_MODEM (modem),
MM_AUTHORIZATION_LOCATION,
context,
- (MMAuthRequestCb)loc_enable_auth_cb,
+ loc_enable_auth_cb,
info,
loc_auth_info_destroy,
&error)) {
@@ -232,7 +232,7 @@ impl_modem_location_get_location (MMModemLocation *modem,
if (!mm_modem_auth_request (MM_MODEM (modem),
MM_AUTHORIZATION_LOCATION,
context,
- (MMAuthRequestCb)loc_get_auth_cb,
+ loc_get_auth_cb,
info,
loc_auth_info_destroy,
&error)) {