[librest/wip/rishi/autocleanups: 5/7] rest-proxy-auth: Add autocleanup
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librest/wip/rishi/autocleanups: 5/7] rest-proxy-auth: Add autocleanup
- Date: Wed, 2 Jun 2021 15:03:03 +0000 (UTC)
commit c762b9d0628edff85a22796e56b186e69f5bc16c
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Jun 2 16:58:23 2021 +0200
rest-proxy-auth: Add autocleanup
https://gitlab.gnome.org/GNOME/librest/-/merge_requests/5
rest/rest-proxy-auth.h | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/rest/rest-proxy-auth.h b/rest/rest-proxy-auth.h
index 816aaa9..d4600fb 100644
--- a/rest/rest-proxy-auth.h
+++ b/rest/rest-proxy-auth.h
@@ -68,6 +68,8 @@ void rest_proxy_auth_pause (RestProxyAuth *auth);
void rest_proxy_auth_unpause (RestProxyAuth *auth);
void rest_proxy_auth_cancel (RestProxyAuth *auth);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (RestProxyAuth, g_object_unref)
+
G_END_DECLS
#endif /* _REST_PROXY_AUTH */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]