diff options
author | Debarshi Ray <debarshir@gnome.org> | 2020-08-25 23:05:22 +0200 |
---|---|---|
committer | Debarshi Ray <debarshir@gnome.org> | 2020-08-25 23:07:09 +0200 |
commit | b3a54c96638c6eac893a459062de268a08f0604a (patch) | |
tree | 36eff4d608ae8a8a3f56174653a70e74664f73d5 | |
parent | b8b645c4857677b9e358931c78c1fab7dacc6383 (diff) | |
download | libgdata-b3a54c96638c6eac893a459062de268a08f0604a.tar.gz |
core: Add g_autoptr() support for GDataUploadStream
https://gitlab.gnome.org/GNOME/libgdata/-/merge_requests/26
-rw-r--r-- | gdata/gdata-upload-stream.h | 1 |
1 files changed, 1 insertions, 0 deletions
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, |