From b3a54c96638c6eac893a459062de268a08f0604a Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Tue, 25 Aug 2020 23:05:22 +0200 Subject: core: Add g_autoptr() support for GDataUploadStream https://gitlab.gnome.org/GNOME/libgdata/-/merge_requests/26 --- gdata/gdata-upload-stream.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gdata/gdata-upload-stream.h b/gdata/gdata-upload-stream.h index 36784aeb..d4a3c7b9 100644 --- a/gdata/gdata-upload-stream.h +++ b/gdata/gdata-upload-stream.h @@ -98,6 +98,7 @@ typedef struct { } GDataUploadStreamClass; GType gdata_upload_stream_get_type (void) G_GNUC_CONST; +G_DEFINE_AUTOPTR_CLEANUP_FUNC (GDataUploadStream, g_object_unref) GOutputStream *gdata_upload_stream_new (GDataService *service, GDataAuthorizationDomain *domain, const gchar *method, const gchar *upload_uri, GDataEntry *entry, const gchar *slug, const gchar *content_type, -- cgit v1.2.1