aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-modem-location.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-03-01 12:50:23 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-16 14:53:19 +0100
commitbb352d5da30413e70a71d14acb952b7bedfe6f99 (patch)
treec854f548d55fa078fd6d4ec95b7e762601840f83 /cli/mmcli-modem-location.c
parent1385eb394f977ee3a7014bd0025fa65cd7e4a25a (diff)
libmm-common: `MMLocation3gpp' won't be considered internal any more
Renamed `MMCommonLocation3gpp' to `MMLocation3gpp', and removed the `MMModemLocation3gpp' provided in libmm-glib. We'll just use the original one from libmm-common always.
Diffstat (limited to 'cli/mmcli-modem-location.c')
-rw-r--r--cli/mmcli-modem-location.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/cli/mmcli-modem-location.c b/cli/mmcli-modem-location.c
index dbd4e666..49afd0ac 100644
--- a/cli/mmcli-modem-location.c
+++ b/cli/mmcli-modem-location.c
@@ -186,7 +186,7 @@ disable_ready (MMModemLocation *modem_location,
}
static void
-get_3gpp_process_reply (MMModemLocation3gpp *location,
+get_3gpp_process_reply (MMLocation3gpp *location,
const GError *error)
{
if (!location) {
@@ -200,10 +200,10 @@ get_3gpp_process_reply (MMModemLocation3gpp *location,
" | Mobile network code: '%u'\n"
" | Location area code: '%lu'\n"
" | Cell ID: '%lu'\n",
- mm_modem_location_3gpp_get_mobile_country_code (location),
- mm_modem_location_3gpp_get_mobile_network_code (location),
- mm_modem_location_3gpp_get_location_area_code (location),
- mm_modem_location_3gpp_get_cell_id (location));
+ mm_location_3gpp_get_mobile_country_code (location),
+ mm_location_3gpp_get_mobile_network_code (location),
+ mm_location_3gpp_get_location_area_code (location),
+ mm_location_3gpp_get_cell_id (location));
g_object_unref (location);
}
@@ -212,7 +212,7 @@ static void
get_3gpp_ready (MMModemLocation *modem_location,
GAsyncResult *result)
{
- MMModemLocation3gpp *operation_result;
+ MMLocation3gpp *operation_result;
GError *error = NULL;
operation_result = mm_modem_location_get_3gpp_finish (modem_location, result, &error);
@@ -326,7 +326,7 @@ mmcli_modem_location_run_synchronous (GDBusConnection *connection)
/* Request to get 3GPP based location from the modem? */
if (get_3gpp_flag) {
- MMModemLocation3gpp *result;
+ MMLocation3gpp *result;
g_debug ("Synchronously getting 3GPP-based location from the modem...");