[libsoup] Remove deprecated SoupCookieJar API
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] Remove deprecated SoupCookieJar API
- Date: Sat, 19 Sep 2020 22:41:56 +0000 (UTC)
commit f3e22c08e02824f5dfb2aefc346ecca51f183c39
Author: Patrick Griffis <pgriffis igalia com>
Date: Tue Jan 28 22:57:48 2020 -0800
Remove deprecated SoupCookieJar API
docs/reference/libsoup-2.4-sections.txt | 1 -
libsoup/soup-cookie-jar.c | 18 ------------------
libsoup/soup-cookie-jar.h | 6 ------
3 files changed, 25 deletions(-)
---
diff --git a/docs/reference/libsoup-2.4-sections.txt b/docs/reference/libsoup-2.4-sections.txt
index d89dcf50..67b5f88f 100644
--- a/docs/reference/libsoup-2.4-sections.txt
+++ b/docs/reference/libsoup-2.4-sections.txt
@@ -981,7 +981,6 @@ SOUP_IS_COOKIE_JAR
SOUP_IS_COOKIE_JAR_CLASS
SOUP_TYPE_COOKIE_JAR
soup_cookie_jar_get_type
-soup_cookie_jar_save
</SECTION>
<SECTION>
diff --git a/libsoup/soup-cookie-jar.c b/libsoup/soup-cookie-jar.c
index c8231f0e..85d6c63c 100644
--- a/libsoup/soup-cookie-jar.c
+++ b/libsoup/soup-cookie-jar.c
@@ -237,24 +237,6 @@ soup_cookie_jar_new (void)
return g_object_new (SOUP_TYPE_COOKIE_JAR, NULL);
}
-/**
- * soup_cookie_jar_save:
- * @jar: a #SoupCookieJar
- *
- * This function exists for backward compatibility, but does not do
- * anything any more; cookie jars are saved automatically when they
- * are changed.
- *
- * Since: 2.24
- *
- * Deprecated: This is a no-op.
- */
-void
-soup_cookie_jar_save (SoupCookieJar *jar)
-{
- /* Does nothing, obsolete */
-}
-
static void
soup_cookie_jar_changed (SoupCookieJar *jar,
SoupCookie *old, SoupCookie *new)
diff --git a/libsoup/soup-cookie-jar.h b/libsoup/soup-cookie-jar.h
index d7b2b4c2..93c72867 100644
--- a/libsoup/soup-cookie-jar.h
+++ b/libsoup/soup-cookie-jar.h
@@ -103,12 +103,6 @@ SoupCookieJarAcceptPolicy soup_cookie_jar_get_accept_policy (SoupCooki
SOUP_AVAILABLE_IN_2_40
gboolean soup_cookie_jar_is_persistent (SoupCookieJar *jar);
-#ifndef SOUP_DISABLE_DEPRECATED
-SOUP_AVAILABLE_IN_2_24
-SOUP_DEPRECATED_IN_2_26
-void soup_cookie_jar_save (SoupCookieJar *jar);
-#endif
-
G_END_DECLS
#endif /* __SOUP_COOKIE_JAR_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]