[libsoup/libsoup-2-74] vala: Better fix for #234 supporting older vala
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/libsoup-2-74] vala: Better fix for #234 supporting older vala
- Date: Thu, 2 Sep 2021 16:12:04 +0000 (UTC)
commit 80a7e4fb1cdfdb6f460e6fea076d8d5102b1d6e4
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Thu Sep 2 11:10:43 2021 -0500
vala: Better fix for #234 supporting older vala
Closes #237
libsoup/Soup-2.4-custom.vala | 2 ++
libsoup/Soup-2.4.metadata | 4 ----
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/libsoup/Soup-2.4-custom.vala b/libsoup/Soup-2.4-custom.vala
index 619bd027..5ab739e9 100644
--- a/libsoup/Soup-2.4-custom.vala
+++ b/libsoup/Soup-2.4-custom.vala
@@ -6,8 +6,10 @@ namespace Soup {
public Buffer.subbuffer (Soup.Buffer parent, size_t offset, size_t length);
}
+#if !VALA_0_54
[Version (deprecated_since = "vala-0.22", replacement = "Status.get_phrase")]
public static unowned string status_get_phrase (uint status_code);
[Version (deprecated_since = "vala-0.22", replacement = "Status.proxify")]
public static uint status_proxify (uint status_code);
+#endif
}
diff --git a/libsoup/Soup-2.4.metadata b/libsoup/Soup-2.4.metadata
index 6a9040a5..1f107eda 100644
--- a/libsoup/Soup-2.4.metadata
+++ b/libsoup/Soup-2.4.metadata
@@ -16,10 +16,6 @@ Requester deprecated_since="2.42" replacement="Session"
KnownStatusCode deprecated_since="2.44" replacement="Status"
ProxyResolver deprecated_since="2.28" replacement="ProxyURIResolver"
-// Defined in Soup-2.4-custom.vala, see
https://gitlab.gnome.org/GNOME/vala/-/commit/f3a8f1a6444ae0ab59ec4bd6496a7c1025785ad4
-status_get_phrase skip
-status_proxify skip
-
// Report upstream
add_* skip=false type="unowned GLib.TimeoutSource"
Auth
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]