diff options
-rw-r--r-- | panels/thunderbolt/bolt-enums.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/panels/thunderbolt/bolt-enums.c b/panels/thunderbolt/bolt-enums.c index de77737f8..bb34ba7c9 100644 --- a/panels/thunderbolt/bolt-enums.c +++ b/panels/thunderbolt/bolt-enums.c @@ -25,8 +25,10 @@ #include <gio/gio.h> +#if !GLIB_CHECK_VERSION(2, 57, 0) G_DEFINE_AUTOPTR_CLEANUP_FUNC (GEnumClass, g_type_class_unref); G_DEFINE_AUTOPTR_CLEANUP_FUNC (GFlagsClass, g_type_class_unref); +#endif gboolean bolt_enum_class_validate (GEnumClass *enum_class, |