aboutsummaryrefslogtreecommitdiff
path: root/src/mm-base-modem-at.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2013-11-20 15:28:34 +0100
committerAleksander Morgado <aleksander@aleksander.es>2014-02-13 13:39:51 +0100
commit9cde02111b3c0eb2ef487c021bcb0950d7cb5f92 (patch)
tree201e54e024b09eb8d54ad38de6f35e984512c598 /src/mm-base-modem-at.c
parentc9e2b46b2124afcf710736900ba1848711126a83 (diff)
ports: rename 'MMSerialPort' to 'MMPortSerial'
Diffstat (limited to 'src/mm-base-modem-at.c')
-rw-r--r--src/mm-base-modem-at.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mm-base-modem-at.c b/src/mm-base-modem-at.c
index e25bdf33..ce15e83d 100644
--- a/src/mm-base-modem-at.c
+++ b/src/mm-base-modem-at.c
@@ -60,7 +60,7 @@ abort_async_if_port_unusable (MMBaseModem *self,
g_object_set (port, MM_AT_SERIAL_PORT_INIT_SEQUENCE_ENABLED, FALSE, NULL);
/* Ensure we have a port open during the sequence */
- if (!mm_serial_port_open (MM_SERIAL_PORT (port), &error)) {
+ if (!mm_port_serial_open (MM_PORT_SERIAL (port), &error)) {
g_simple_async_report_error_in_idle (
G_OBJECT (self),
callback,
@@ -107,7 +107,7 @@ typedef struct {
static void
at_sequence_context_free (AtSequenceContext *ctx)
{
- mm_serial_port_close (MM_SERIAL_PORT (ctx->port));
+ mm_port_serial_close (MM_PORT_SERIAL (ctx->port));
g_object_unref (ctx->port);
g_object_unref (ctx->self);
@@ -442,7 +442,7 @@ typedef struct {
static void
at_command_context_free (AtCommandContext *ctx)
{
- mm_serial_port_close (MM_SERIAL_PORT (ctx->port));
+ mm_port_serial_close (MM_PORT_SERIAL (ctx->port));
if (ctx->cancelled_id)
g_cancellable_disconnect (ctx->modem_cancellable,