aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-modem-3gpp.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-01-15 18:56:21 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-01-15 18:56:21 +0100
commitddb7d915a7509a35986ee77d83aa230ccbd028a6 (patch)
treecb5538cfc8ad5d48895fae61b82b48338b817f9b /libmm-glib/mm-modem-3gpp.h
parent40e9434cc36174506ed9bbd01c8f78eaea673a2f (diff)
libmm-glib: unconditionally define autoptr support for all types
As we now depend on glib 2.48
Diffstat (limited to 'libmm-glib/mm-modem-3gpp.h')
-rw-r--r--libmm-glib/mm-modem-3gpp.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libmm-glib/mm-modem-3gpp.h b/libmm-glib/mm-modem-3gpp.h
index 241ea9ca..e3a506dc 100644
--- a/libmm-glib/mm-modem-3gpp.h
+++ b/libmm-glib/mm-modem-3gpp.h
@@ -64,10 +64,7 @@ struct _MMModem3gppClass {
};
GType mm_modem_3gpp_get_type (void);
-
-#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMModem3gpp, g_object_unref)
-#endif
const gchar *mm_modem_3gpp_get_path (MMModem3gpp *self);
gchar *mm_modem_3gpp_dup_path (MMModem3gpp *self);
@@ -125,10 +122,7 @@ const gchar *mm_modem_3gpp_network_get_operator_short (con
const gchar *mm_modem_3gpp_network_get_operator_code (const MMModem3gppNetwork *network);
MMModemAccessTechnology mm_modem_3gpp_network_get_access_technology (const MMModem3gppNetwork *network);
void mm_modem_3gpp_network_free (MMModem3gppNetwork *network);
-
-#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMModem3gppNetwork, mm_modem_3gpp_network_free)
-#endif
void mm_modem_3gpp_scan (MMModem3gpp *self,
GCancellable *cancellable,