summaryrefslogtreecommitdiff
path: root/libsoup/soup-autocleanups.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsoup/soup-autocleanups.h')
-rw-r--r--libsoup/soup-autocleanups.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/libsoup/soup-autocleanups.h b/libsoup/soup-autocleanups.h
index f50a5cd4..979dcdc4 100644
--- a/libsoup/soup-autocleanups.h
+++ b/libsoup/soup-autocleanups.h
@@ -18,7 +18,10 @@
#ifndef SOUP_AUTOCLEANUPS_H
#define SOUP_AUTOCLEANUPS_H
+#include <libsoup/soup-cookie.h>
+#include <libsoup/soup-date.h>
#include <libsoup/soup-types.h>
+#include <libsoup/soup-uri.h>
#if SOUP_VERSION_MAX_ALLOWED >= SOUP_VERSION_2_52
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
@@ -26,9 +29,9 @@
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(SoupCookie, 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(SoupDate, g_object_unref)
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupDate, soup_date_free)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupMessage, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupRequest, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupRequestHTTP, g_object_unref)
@@ -38,7 +41,7 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupSessionAsync, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupSessionFeature, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupSessionSync, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupSocket, g_object_unref)
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupURI, g_object_unref)
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupURI, soup_uri_free)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupWebsocketConnection, g_object_unref)
#endif