aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-call-audio-format.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmm-glib/mm-call-audio-format.h')
-rw-r--r--libmm-glib/mm-call-audio-format.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmm-glib/mm-call-audio-format.h b/libmm-glib/mm-call-audio-format.h
index f6da710a..bd931bc8 100644
--- a/libmm-glib/mm-call-audio-format.h
+++ b/libmm-glib/mm-call-audio-format.h
@@ -55,6 +55,10 @@ struct _MMCallAudioFormatClass {
GType mm_call_audio_format_get_type (void);
+#if GLIB_CHECK_VERSION(2, 44, 0)
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMCallAudioFormat, g_object_unref)
+#endif
+
const gchar *mm_call_audio_format_get_encoding (MMCallAudioFormat *self);
const gchar *mm_call_audio_format_get_resolution (MMCallAudioFormat *self);
guint mm_call_audio_format_get_rate (MMCallAudioFormat *self);