summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-03-07 14:10:27 -0500
committerDan Winship <danw@gnome.org>2014-05-01 11:53:16 -0400
commita31a04c0ed2b420e6772f1ec835bc5ff8b4a85f9 (patch)
treebcc011b26bda149d07e676bc85e9c9ebe2cfa6be
parent45605fe6fffe391f47dcbe9bff4ef7ea3e4cc4c7 (diff)
downloadlibsoup-a31a04c0ed2b420e6772f1ec835bc5ff8b4a85f9.tar.gz
Bump version to 2.47, add 2.48 version macros
-rw-r--r--configure.ac2
-rw-r--r--libsoup/soup-version.h.in15
2 files changed, 16 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 96bb378a..d71952a9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@ dnl *** Initialize automake and set version ***
dnl *******************************************
m4_define([soup_major_version], [2])
-m4_define([soup_minor_version], [46])
+m4_define([soup_minor_version], [47])
m4_define([soup_micro_version], [0])
AC_PREREQ(2.63)
diff --git a/libsoup/soup-version.h.in b/libsoup/soup-version.h.in
index 000b9456..1c110178 100644
--- a/libsoup/soup-version.h.in
+++ b/libsoup/soup-version.h.in
@@ -48,6 +48,7 @@ gboolean soup_check_version (guint major,
#define SOUP_VERSION_2_42 (SOUP_ENCODE_VERSION (2, 42))
#define SOUP_VERSION_2_44 (SOUP_ENCODE_VERSION (2, 44))
#define SOUP_VERSION_2_46 (SOUP_ENCODE_VERSION (2, 46))
+#define SOUP_VERSION_2_48 (SOUP_ENCODE_VERSION (2, 48))
/* evaluates to the current stable version; for development cycles,
* this means the next stable target
@@ -256,6 +257,20 @@ gboolean soup_check_version (guint major,
# define SOUP_AVAILABLE_IN_2_46
#endif
+#if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_48
+# define SOUP_DEPRECATED_IN_2_48 GLIB_DEPRECATED
+# define SOUP_DEPRECATED_IN_2_48_FOR(f) GLIB_DEPRECATED_FOR(f)
+#else
+# define SOUP_DEPRECATED_IN_2_48
+# define SOUP_DEPRECATED_IN_2_48_FOR(f)
+#endif
+
+#if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_48
+# define SOUP_AVAILABLE_IN_2_48 GLIB_UNAVAILABLE(2, 48)
+#else
+# define SOUP_AVAILABLE_IN_2_48
+#endif
+
G_END_DECLS
#endif /* SOUP_VERSION_H */