diff options
Diffstat (limited to 'libmm-glib/mm-bearer-properties.h')
-rw-r--r-- | libmm-glib/mm-bearer-properties.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmm-glib/mm-bearer-properties.h b/libmm-glib/mm-bearer-properties.h index 361c8678..e1ddb995 100644 --- a/libmm-glib/mm-bearer-properties.h +++ b/libmm-glib/mm-bearer-properties.h @@ -55,6 +55,10 @@ struct _MMBearerPropertiesClass { GType mm_bearer_properties_get_type (void); +#if GLIB_CHECK_VERSION(2, 44, 0) +G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMBearerProperties, g_object_unref) +#endif + MMBearerProperties *mm_bearer_properties_new (void); void mm_bearer_properties_set_apn (MMBearerProperties *self, |