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:
parent
59ffce73c8
commit
4418ab7fa9
|
|
@ -46,6 +46,8 @@ struct OstreeFetcherClass
|
||||||
GObjectClass parent_class;
|
GObjectClass parent_class;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(OstreeFetcher, g_object_unref)
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
OSTREE_FETCHER_FLAGS_NONE = 0,
|
OSTREE_FETCHER_FLAGS_NONE = 0,
|
||||||
OSTREE_FETCHER_FLAGS_TLS_PERMISSIVE = (1 << 0),
|
OSTREE_FETCHER_FLAGS_TLS_PERMISSIVE = (1 << 0),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue