aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-modem-simple.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-03-01 13:17:12 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-16 14:53:20 +0100
commitcd63df938f4fdf3fb656f715745608a9318d1c74 (patch)
treec58cdb827c5535fe1505799f838d76b108b72fac /libmm-glib/mm-modem-simple.c
parentbb352d5da30413e70a71d14acb952b7bedfe6f99 (diff)
libmm-common: `MMSimpleStatus' won't be considered internal any more
Renamed `MMCommonSimpleProperties' to `MMSimpleStatus', and removed the `MMSimpleStatusProperties' provided in libmm-glib. We'll just use the original one from libmm-common always.
Diffstat (limited to 'libmm-glib/mm-modem-simple.c')
-rw-r--r--libmm-glib/mm-modem-simple.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libmm-glib/mm-modem-simple.c b/libmm-glib/mm-modem-simple.c
index e25ff595..4d5c5645 100644
--- a/libmm-glib/mm-modem-simple.c
+++ b/libmm-glib/mm-modem-simple.c
@@ -244,12 +244,12 @@ mm_modem_simple_disconnect_sync (MMModemSimple *self,
error);
}
-MMModemSimpleStatusProperties *
+MMSimpleStatus *
mm_modem_simple_get_status_finish (MMModemSimple *self,
GAsyncResult *res,
GError **error)
{
- MMCommonSimpleProperties *properties;
+ MMSimpleStatus *status;
GVariant *dictionary = NULL;
g_return_val_if_fail (MM_GDBUS_IS_MODEM_SIMPLE (self), NULL);
@@ -257,9 +257,9 @@ mm_modem_simple_get_status_finish (MMModemSimple *self,
if (!mm_gdbus_modem_simple_call_get_status_finish (self, &dictionary, res, error))
return NULL;
- properties = mm_common_simple_properties_new_from_dictionary (dictionary, error);
+ status = mm_simple_status_new_from_dictionary (dictionary, error);
g_variant_unref (dictionary);
- return (MMModemSimpleStatusProperties *)properties;
+ return status;
}
void
@@ -276,12 +276,12 @@ mm_modem_simple_get_status (MMModemSimple *self,
user_data);
}
-MMModemSimpleStatusProperties *
+MMSimpleStatus *
mm_modem_simple_get_status_sync (MMModemSimple *self,
GCancellable *cancellable,
GError **error)
{
- MMCommonSimpleProperties *properties;
+ MMSimpleStatus *status;
GVariant *dictionary = NULL;
g_return_val_if_fail (MM_GDBUS_IS_MODEM_SIMPLE (self), NULL);
@@ -289,7 +289,7 @@ mm_modem_simple_get_status_sync (MMModemSimple *self,
if (!mm_gdbus_modem_simple_call_get_status_sync (self, &dictionary, cancellable, error))
return NULL;
- properties = mm_common_simple_properties_new_from_dictionary (dictionary, error);
+ status = mm_simple_status_new_from_dictionary (dictionary, error);
g_variant_unref (dictionary);
- return (MMModemSimpleStatusProperties *)properties;
+ return status;
}