summaryrefslogtreecommitdiff
path: root/libsoup/soup-version.h.in
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2020-01-16 13:06:38 +0200
committerPatrick Griffis <tingping@tingping.se>2020-01-17 05:37:28 +0000
commit040593875e0193935a1141bdf21388abb4b5087b (patch)
treef6fdbc849b172c48e0d4f91014adeda80ce1365c /libsoup/soup-version.h.in
parentb9d34b0e9ed6ff68cd265091c5a67dcd88f3a703 (diff)
downloadlibsoup-040593875e0193935a1141bdf21388abb4b5087b.tar.gz
SoupDate: deprecate soup_date_to_timeval()
GTimeVal has been deprecated and shouldn't be used, so deprecate soup_date_to_timeval().
Diffstat (limited to 'libsoup/soup-version.h.in')
-rw-r--r--libsoup/soup-version.h.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/libsoup/soup-version.h.in b/libsoup/soup-version.h.in
index fc24f3cb..149a4ea8 100644
--- a/libsoup/soup-version.h.in
+++ b/libsoup/soup-version.h.in
@@ -68,6 +68,7 @@ G_BEGIN_DECLS
#define SOUP_VERSION_2_62 (G_ENCODE_VERSION (2, 62))
#define SOUP_VERSION_2_66 (G_ENCODE_VERSION (2, 66))
#define SOUP_VERSION_2_68 (G_ENCODE_VERSION (2, 68))
+#define SOUP_VERSION_2_70 (G_ENCODE_VERSION (2, 70))
/* evaluates to the current stable version; for development cycles,
* this means the next stable target
@@ -396,6 +397,12 @@ G_BEGIN_DECLS
# define SOUP_AVAILABLE_IN_2_68 _SOUP_EXTERN
#endif
+#if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_70
+# define SOUP_DEPRECATED_IN_2_70 G_DEPRECATED
+#else
+# define SOUP_DEPRECATED_IN_2_70
+#endif
+
SOUP_AVAILABLE_IN_2_42
guint soup_get_major_version (void);