aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-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 /libmm-glib/mm-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 'libmm-glib/mm-modem-location.c')
-rw-r--r--libmm-glib/mm-modem-location.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libmm-glib/mm-modem-location.c b/libmm-glib/mm-modem-location.c
index 1f2bdbb7..c800fa3b 100644
--- a/libmm-glib/mm-modem-location.c
+++ b/libmm-glib/mm-modem-location.c
@@ -160,11 +160,11 @@ mm_modem_location_enable_sync (MMModemLocation *self,
error);
}
-static MMModemLocation3gpp *
+static MMLocation3gpp *
build_3gpp_location (GVariant *dictionary,
GError **error)
{
- MMCommonLocation3gpp *location = NULL;
+ MMLocation3gpp *location = NULL;
GError *inner_error = NULL;
GVariant *value;
guint source;
@@ -179,7 +179,7 @@ build_3gpp_location (GVariant *dictionary,
g_variant_iter_next (&iter, "{uv}", &source, &value)) {
/* If we have 3GPP LAC/CI location, build result */
if (source == MM_MODEM_LOCATION_SOURCE_3GPP_LAC_CI)
- location = mm_common_location_3gpp_new_from_string_variant (value, &inner_error);
+ location = mm_location_3gpp_new_from_string_variant (value, &inner_error);
g_variant_unref (value);
}
@@ -189,10 +189,10 @@ build_3gpp_location (GVariant *dictionary,
if (inner_error)
g_propagate_error (error, inner_error);
- return (MMModemLocation3gpp *)location;
+ return (MMLocation3gpp *)location;
}
-MMModemLocation3gpp *
+MMLocation3gpp *
mm_modem_location_get_3gpp_finish (MMModemLocation *self,
GAsyncResult *res,
GError **error)
@@ -222,7 +222,7 @@ mm_modem_location_get_3gpp (MMModemLocation *self,
user_data);
}
-MMModemLocation3gpp *
+MMLocation3gpp *
mm_modem_location_get_3gpp_sync (MMModemLocation *self,
GCancellable *cancellable,
GError **error)