lib/fetcher: Add cleanup function for OstreeFetcher

This is only used internally (the header is not public), so it doesn’t
have to go in ostree-autocleanups.h. It will be used in some following
commits.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

Closes: #911
Approved by: cgwalters
This commit is contained in:
Philip Withnall 2017-06-07 15:41:17 +01:00 committed by Atomic Bot
parent 59ffce73c8
commit 4418ab7fa9

View File

@ -46,6 +46,8 @@ struct OstreeFetcherClass
GObjectClass parent_class;
};
G_DEFINE_AUTOPTR_CLEANUP_FUNC(OstreeFetcher, g_object_unref)
typedef enum {
OSTREE_FETCHER_FLAGS_NONE = 0,
OSTREE_FETCHER_FLAGS_TLS_PERMISSIVE = (1 << 0),