diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-02-13 23:13:39 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:15:05 +0100 |
commit | 21a722b6169d27ea960ad24ff432f174163ed53a (patch) | |
tree | ec2f189315bbc8a360ee20468dd44ff0dcaa4394 /src/mm-iface-modem-3gpp-ussd.c | |
parent | 3de4a2996340844b6808a4ca6e2d31b9b4b791f7 (diff) |
core: don't pass primary port to interface initializations
They will all get it themselves.
Diffstat (limited to 'src/mm-iface-modem-3gpp-ussd.c')
-rw-r--r-- | src/mm-iface-modem-3gpp-ussd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mm-iface-modem-3gpp-ussd.c b/src/mm-iface-modem-3gpp-ussd.c index 9cdc2da9..e0ee4669 100644 --- a/src/mm-iface-modem-3gpp-ussd.c +++ b/src/mm-iface-modem-3gpp-ussd.c @@ -607,7 +607,6 @@ typedef enum { struct _InitializationContext { MMIfaceModem3gppUssd *self; - MMAtSerialPort *port; MmGdbusModem3gppUssd *skeleton; GSimpleAsyncResult *result; InitializationStep step; @@ -615,7 +614,6 @@ struct _InitializationContext { static InitializationContext * initialization_context_new (MMIfaceModem3gppUssd *self, - MMAtSerialPort *port, GAsyncReadyCallback callback, gpointer user_data) { @@ -623,7 +621,6 @@ initialization_context_new (MMIfaceModem3gppUssd *self, ctx = g_new0 (InitializationContext, 1); ctx->self = g_object_ref (self); - ctx->port = g_object_ref (port); ctx->result = g_simple_async_result_new (G_OBJECT (self), callback, user_data, @@ -641,7 +638,6 @@ initialization_context_complete_and_free (InitializationContext *ctx) { g_simple_async_result_complete_in_idle (ctx->result); g_object_unref (ctx->self); - g_object_unref (ctx->port); g_object_unref (ctx->result); g_object_unref (ctx->skeleton); g_free (ctx); @@ -774,7 +770,6 @@ mm_iface_modem_3gpp_ussd_initialize_finish (MMIfaceModem3gppUssd *self, void mm_iface_modem_3gpp_ussd_initialize (MMIfaceModem3gppUssd *self, - MMAtSerialPort *port, GAsyncReadyCallback callback, gpointer user_data) { @@ -801,7 +796,6 @@ mm_iface_modem_3gpp_ussd_initialize (MMIfaceModem3gppUssd *self, /* Perform async initialization here */ interface_initialization_step (initialization_context_new (self, - port, callback, user_data)); g_object_unref (skeleton); |