aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-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 /src/mm-iface-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 'src/mm-iface-modem-simple.c')
-rw-r--r--src/mm-iface-modem-simple.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mm-iface-modem-simple.c b/src/mm-iface-modem-simple.c
index 007ab529..5424e11d 100644
--- a/src/mm-iface-modem-simple.c
+++ b/src/mm-iface-modem-simple.c
@@ -753,18 +753,18 @@ handle_get_status (MmGdbusModemSimple *skeleton,
GDBusMethodInvocation *invocation,
MMIfaceModemSimple *self)
{
- MMCommonSimpleProperties *properties = NULL;
+ MMSimpleStatus *status = NULL;
GVariant *dictionary;
g_object_get (self,
- MM_IFACE_MODEM_SIMPLE_STATUS, &properties,
+ MM_IFACE_MODEM_SIMPLE_STATUS, &status,
NULL);
- dictionary = mm_common_simple_properties_get_dictionary (properties);
+ dictionary = mm_simple_status_get_dictionary (status);
mm_gdbus_modem_simple_complete_get_status (skeleton, invocation, dictionary);
g_variant_unref (dictionary);
- g_object_unref (properties);
+ g_object_unref (status);
return TRUE;
}
@@ -845,7 +845,7 @@ iface_modem_simple_init (gpointer g_iface)
g_param_spec_object (MM_IFACE_MODEM_SIMPLE_STATUS,
"Simple status",
"Compilation of status values",
- MM_TYPE_COMMON_SIMPLE_PROPERTIES,
+ MM_TYPE_SIMPLE_STATUS,
G_PARAM_READWRITE));
initialized = TRUE;