summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-03-07 14:10:27 -0500
committerDan Winship <danw@gnome.org>2014-03-15 22:06:23 -0400
commitaf0f3962bf07207895987f9dca76dc90fab8d1c2 (patch)
treee77762c75667696ba37717db955aaa8b23a9e7e1
parenta1591e15bf2c4a690e79698cdd078f6ed01e48d3 (diff)
downloadlibsoup-af0f3962bf07207895987f9dca76dc90fab8d1c2.tar.gz
soup-version: add 2.48
-rw-r--r--configure.ac4
-rw-r--r--libsoup/soup-version.h.in15
2 files changed, 17 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 5bdd0798..d71952a9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,8 +3,8 @@ dnl *** Initialize automake and set version ***
dnl *******************************************
m4_define([soup_major_version], [2])
-m4_define([soup_minor_version], [45])
-m4_define([soup_micro_version], [90])
+m4_define([soup_minor_version], [47])
+m4_define([soup_micro_version], [0])
AC_PREREQ(2.63)
AC_INIT([libsoup],[soup_major_version.soup_minor_version.soup_micro_version],[http://bugzilla.gnome.org/enter_bug.cgi?product=libsoup])
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 */