diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-01 12:31:17 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-16 14:53:19 +0100 |
commit | 1385eb394f977ee3a7014bd0025fa65cd7e4a25a (patch) | |
tree | 3d3bd1e67f3b5a51f9778c9f67fe60ced04279c7 /libmm-glib/mm-modem-simple.c | |
parent | d306bb082f1237f6437e05b7a166df91f46655fb (diff) |
libmm-common: `MMSimpleConnectProperties' won't be considered internal any more
Renamed `MMCommonConnectProperties' to `MMSimpleConnectProperties', and removed
the `MMModemSimpleConnectProperties' 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.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libmm-glib/mm-modem-simple.c b/libmm-glib/mm-modem-simple.c index bec8c23d..e25ff595 100644 --- a/libmm-glib/mm-modem-simple.c +++ b/libmm-glib/mm-modem-simple.c @@ -140,7 +140,7 @@ simple_connect_ready (MMModemSimple *self, void mm_modem_simple_connect (MMModemSimple *self, - MMModemSimpleConnectProperties *properties, + MMSimpleConnectProperties *properties, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) @@ -158,8 +158,7 @@ mm_modem_simple_connect (MMModemSimple *self, if (cancellable) ctx->cancellable = g_object_ref (cancellable); - variant = mm_common_connect_properties_get_dictionary ( - MM_COMMON_CONNECT_PROPERTIES (properties)); + variant = mm_simple_connect_properties_get_dictionary (properties); mm_gdbus_modem_simple_call_connect ( self, variant, @@ -172,7 +171,7 @@ mm_modem_simple_connect (MMModemSimple *self, MMBearer * mm_modem_simple_connect_sync (MMModemSimple *self, - MMModemSimpleConnectProperties *properties, + MMSimpleConnectProperties *properties, GCancellable *cancellable, GError **error) { @@ -182,8 +181,7 @@ mm_modem_simple_connect_sync (MMModemSimple *self, g_return_val_if_fail (MM_GDBUS_IS_MODEM_SIMPLE (self), NULL); - variant = mm_common_connect_properties_get_dictionary ( - MM_COMMON_CONNECT_PROPERTIES (properties)); + variant = mm_simple_connect_properties_get_dictionary (properties); mm_gdbus_modem_simple_call_connect_sync (self, variant, &bearer_path, |