diff options
author | Aleksander Morgado <aleksandermj@chromium.org> | 2024-04-18 10:05:51 +0000 |
---|---|---|
committer | Aleksander Morgado <aleksandermj@chromium.org> | 2024-05-06 13:27:04 +0000 |
commit | ab6e4bf391cf3d05dc7758b4bf8844e3ac1e7da7 (patch) | |
tree | 955b4403ac2387bcaf3bda4e4190c8d68163b1da /src/plugins/zte | |
parent | 35c0a6905be622a4e938b66c6128d270cebf1bdc (diff) |
iface-modem-3gpp: use G_DECLARE|DEFINE_INTERFACE() macros
Diffstat (limited to 'src/plugins/zte')
-rw-r--r-- | src/plugins/zte/mm-broadband-modem-zte-icera.c | 6 | ||||
-rw-r--r-- | src/plugins/zte/mm-broadband-modem-zte.c | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/zte/mm-broadband-modem-zte-icera.c b/src/plugins/zte/mm-broadband-modem-zte-icera.c index f88f9f4e..b1581793 100644 --- a/src/plugins/zte/mm-broadband-modem-zte-icera.c +++ b/src/plugins/zte/mm-broadband-modem-zte-icera.c @@ -30,9 +30,9 @@ #include "mm-broadband-modem-zte-icera.h" #include "mm-modem-helpers.h" -static void iface_modem_3gpp_init (MMIfaceModem3gpp *iface); +static void iface_modem_3gpp_init (MMIfaceModem3gppInterface *iface); -static MMIfaceModem3gpp *iface_modem_3gpp_parent; +static MMIfaceModem3gppInterface *iface_modem_3gpp_parent; G_DEFINE_TYPE_EXTENDED (MMBroadbandModemZteIcera, mm_broadband_modem_zte_icera, MM_TYPE_BROADBAND_MODEM_ICERA, 0, G_IMPLEMENT_INTERFACE (MM_TYPE_IFACE_MODEM_3GPP, iface_modem_3gpp_init)); @@ -183,7 +183,7 @@ finalize (GObject *object) static void -iface_modem_3gpp_init (MMIfaceModem3gpp *iface) +iface_modem_3gpp_init (MMIfaceModem3gppInterface *iface) { iface_modem_3gpp_parent = g_type_interface_peek_parent (iface); diff --git a/src/plugins/zte/mm-broadband-modem-zte.c b/src/plugins/zte/mm-broadband-modem-zte.c index f9bca7fb..23249fdc 100644 --- a/src/plugins/zte/mm-broadband-modem-zte.c +++ b/src/plugins/zte/mm-broadband-modem-zte.c @@ -32,11 +32,11 @@ #include "mm-common-zte.h" #include "mm-broadband-modem-zte.h" -static void iface_modem_init (MMIfaceModemInterface *iface); -static void iface_modem_3gpp_init (MMIfaceModem3gpp *iface); +static void iface_modem_init (MMIfaceModemInterface *iface); +static void iface_modem_3gpp_init (MMIfaceModem3gppInterface *iface); -static MMIfaceModemInterface *iface_modem_parent; -static MMIfaceModem3gpp *iface_modem_3gpp_parent; +static MMIfaceModemInterface *iface_modem_parent; +static MMIfaceModem3gppInterface *iface_modem_3gpp_parent; G_DEFINE_TYPE_EXTENDED (MMBroadbandModemZte, mm_broadband_modem_zte, MM_TYPE_BROADBAND_MODEM, 0, G_IMPLEMENT_INTERFACE (MM_TYPE_IFACE_MODEM, iface_modem_init) @@ -741,7 +741,7 @@ iface_modem_init (MMIfaceModemInterface *iface) } static void -iface_modem_3gpp_init (MMIfaceModem3gpp *iface) +iface_modem_3gpp_init (MMIfaceModem3gppInterface *iface) { iface_modem_3gpp_parent = g_type_interface_peek_parent (iface); |