aboutsummaryrefslogtreecommitdiff
path: root/src/mm-device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mm-device.h')
-rw-r--r--src/mm-device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-device.h b/src/mm-device.h
index b7a3285c..d78a97c9 100644
--- a/src/mm-device.h
+++ b/src/mm-device.h
@@ -60,6 +60,7 @@ struct _MMDeviceClass {
};
GType mm_device_get_type (void);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMDevice, g_object_unref)
MMDevice *mm_device_new (const gchar *uid,
gboolean hotplugged,