From 432bf1b7494b4f841645a8a6b26fa48cade32f75 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 10 Sep 2015 11:53:06 +0200 Subject: autocleanups: Add a few more missing types https://bugzilla.gnome.org/show_bug.cgi?id=754721 --- libsoup/soup-autocleanups.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/libsoup/soup-autocleanups.h b/libsoup/soup-autocleanups.h index 914d6fb8..3c992ddc 100644 --- a/libsoup/soup-autocleanups.h +++ b/libsoup/soup-autocleanups.h @@ -18,10 +18,24 @@ #ifndef SOUP_AUTOCLEANUPS_H #define SOUP_AUTOCLEANUPS_H +#include +#include +#include +#include +#include +#include #include +#include +#include #include +#include +#include +#include +#include +#include #include #include +#include #if SOUP_VERSION_MAX_ALLOWED >= SOUP_VERSION_2_52 #ifndef __GI_SCANNER__ @@ -30,11 +44,27 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupAddress, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupAuth, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupAuthDomain, g_object_unref) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupAuthDomainBasic, g_object_unref) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupAuthDomainDigest, g_object_unref) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupAuthManager, g_object_unref) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupBuffer, soup_buffer_free) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupCache, g_object_unref) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupContentDecoder, g_object_unref) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupContentSniffer, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupCookie, soup_cookie_free) G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupCookieJar, g_object_unref) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupCookieJarDB, g_object_unref) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupCookieJarText, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupDate, soup_date_free) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupLogger, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupMessage, g_object_unref) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupMessageBody, soup_message_body_free) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupMessageHeaders, soup_message_headers_free) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupMultipart, soup_multipart_free) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupMultipartInputStream, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupRequest, g_object_unref) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupRequestData, g_object_unref) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupRequestFile, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupRequestHTTP, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupServer, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupSession, g_object_unref) @@ -44,6 +74,7 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupSessionSync, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupSocket, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupURI, soup_uri_free) G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupWebsocketConnection, g_object_unref) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupXMLRPCParams, soup_xmlrpc_params_free) #endif #endif -- cgit v1.2.1