[evolution-data-server] Bug 691033 - Avoid using LIBSOUP_DISABLE_DEPRECATED
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug 691033 - Avoid using LIBSOUP_DISABLE_DEPRECATED
- Date: Wed, 2 Jan 2013 21:05:33 +0000 (UTC)
commit dd7a58e2dbf48c96fa84bec98c69559d3502d564
Author: Hashem Nasarat <hnasarat gmail com>
Date: Wed Jan 2 15:54:11 2013 -0500
Bug 691033 - Avoid using LIBSOUP_DISABLE_DEPRECATED
Prevent E-D-S builds from suddenly breaking because of new deprecations
in libsoup. Case in point: soup_session_sync_new().
If libsoup starts using versioned deprecations like glib and gtk+ are
already doing, then we can disable libsoup symbols that were deprecated
in versions older than our minimum requirement. That would allow us to
clean up deprecations gradually rather than dealing with bugs like this.
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0e992f1..cbf7c1a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -207,7 +207,7 @@ fi
AC_MSG_RESULT([$enable_strict])
if test "x$enable_strict" = xyes; then
- AM_CPPFLAGS="$AM_CPPFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DLIBSOUP_DISABLE_DEPRECATED"
+ AM_CPPFLAGS="$AM_CPPFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
fi
dnl Warn about GLib/GTK+ API usage that violates our minimum requirements.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]