aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-sim.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-sim.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-sim.h')
-rw-r--r--libmm-glib/mm-sim.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/libmm-glib/mm-sim.h b/libmm-glib/mm-sim.h
index 90b49b55..eee4bc49 100644
--- a/libmm-glib/mm-sim.h
+++ b/libmm-glib/mm-sim.h
@@ -62,10 +62,7 @@ struct _MMSimClass {
};
GType mm_sim_get_type (void);
-
-#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMSim, g_object_unref)
-#endif
const gchar *mm_sim_get_path (MMSim *self);
gchar *mm_sim_dup_path (MMSim *self);