aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-object.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-object.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-object.h')
-rw-r--r--libmm-glib/mm-object.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/libmm-glib/mm-object.h b/libmm-glib/mm-object.h
index e342fadf..92f43c75 100644
--- a/libmm-glib/mm-object.h
+++ b/libmm-glib/mm-object.h
@@ -74,10 +74,7 @@ struct _MMObjectClass {
};
GType mm_object_get_type (void);
-
-#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMObject, g_object_unref)
-#endif
const gchar *mm_object_get_path (MMObject *self);
gchar *mm_object_dup_path (MMObject *self);