compat: Use new GDate autoptr and define if needed

This commit is contained in:
Marco Trevisan (Treviño)
2020-01-30 14:59:59 +01:00
committed by Benjamin Berg
parent cfbd5d27b7
commit 5faf8498d9
4 changed files with 5 additions and 7 deletions

View File

@@ -35,4 +35,5 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GParamSpec, g_param_spec_unref);
#if !GLIB_CHECK_VERSION (2, 63, 3)
typedef struct _FpDeviceClass FpDeviceClass;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (FpDeviceClass, g_type_class_unref);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GDate, g_date_free);
#endif