[evolution-data-server] Exclude deprecated API from introspection.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Exclude deprecated API from introspection.
- Date: Fri, 2 Nov 2012 22:02:10 +0000 (UTC)
commit dfcbcc22283232f308a78c4726f36a67eb5210ab
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Nov 2 17:49:13 2012 -0400
Exclude deprecated API from introspection.
Deprecated APIs were deprecated for a reason. The last thing we
should be doing is enabling their continued use in other languages.
Henceforth, any symbols tagged with EDS_DISABLED_DEPRECATED will be
automatically excluded from introspection and language bindings.
addressbook/libebook/Makefile.am | 1 +
calendar/libecal/Makefile.am | 1 +
libedataserver/Makefile.am | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/libebook/Makefile.am b/addressbook/libebook/Makefile.am
index 95d1b01..45ecfc7 100644
--- a/addressbook/libebook/Makefile.am
+++ b/addressbook/libebook/Makefile.am
@@ -102,6 +102,7 @@ INTROSPECTION_SCANNER_ARGS = \
--identifier-prefix=E \
--pkg-export libebook-1.2 \
--c-include="libebook/libebook.h" \
+ -D EDS_DISABLE_DEPRECATED \
$(NULL)
INTROSPECTION_COMPILER_ARGS = \
--includedir=$(top_builddir)/libedataserver \
diff --git a/calendar/libecal/Makefile.am b/calendar/libecal/Makefile.am
index 609f0e8..b3592da 100644
--- a/calendar/libecal/Makefile.am
+++ b/calendar/libecal/Makefile.am
@@ -96,6 +96,7 @@ INTROSPECTION_SCANNER_ARGS = \
--identifier-prefix E \
--pkg-export libecal-1.2 \
--c-include="libecal/libecal.h" \
+ -D EDS_DISABLE_DEPRECATED \
$(NULL)
INTROSPECTION_COMPILER_ARGS = \
--includedir=$(top_builddir)/libedataserver \
diff --git a/libedataserver/Makefile.am b/libedataserver/Makefile.am
index 4d20f6f..53aa8a7 100644
--- a/libedataserver/Makefile.am
+++ b/libedataserver/Makefile.am
@@ -204,6 +204,7 @@ INTROSPECTION_SCANNER_ARGS = \
--identifier-prefix E \
--pkg-export libedataserver-1.2 \
--c-include="libedataserver/libedataserver.h" \
+ -D EDS_DISABLE_DEPRECATED \
$(NULL)
INTROSPECTION_COMPILER_ARGS =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]