ports: rename 'MMSerialPort' to 'MMPortSerial'

This commit is contained in:
Aleksander Morgado
2013-11-20 15:28:34 +01:00
parent c9e2b46b21
commit 9cde02111b
22 changed files with 306 additions and 304 deletions

View File

@@ -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,