From 3396cf5a3d2a4a40292a76e758bc6f55cb567528 Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Mon, 6 Jun 2022 19:15:54 -0400 Subject: consider libical-glib as stable now fixes: #574 --- README.md | 5 ----- ReleaseNotes.txt | 2 ++ src/libical-glib/tools/header-header-template | 4 ---- src/test/icalattach-leak.c | 2 -- 4 files changed, 2 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 2b7edb2b..46699a3d 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,6 @@ plus the iCalendar iMIP protocol in [RFC6047][]. [RFC9073]: https://tools.ietf.org/html/rfc9073 [RFC9074]: https://tools.ietf.org/html/rfc9074 -The libical-glib API is currently unstable and can change with any release. -Until it is considered stable, there should be defined `LIBICAL_GLIB_UNSTABLE_API=1` -before including ``, to indicate that the library user -is aware of it and is prepared to change the calls anytime. - ## License The code and datafiles in this distribution are licensed under the diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index a2a6be01..ca8644e3 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -34,6 +34,8 @@ Version 3.1.0 (NOT RELEASED YET): * ical_set_invalid_rrule_handling_setting * ical_get_invalid_rrule_handling_setting * icaltzutil_get_zone_directory() can use the TZDIR environment to find system zoneinfo + * libical-glib API is considered stable; no longer need to define LIBICAL_GLIB_UNSTABLE_API=1 + before including . * Deprecated functions: + caldat (replaced by internal function icaldat_int()) + juldat (replaced by internal function juldat_int()) diff --git a/src/libical-glib/tools/header-header-template b/src/libical-glib/tools/header-header-template index cab23f9f..b19012c2 100644 --- a/src/libical-glib/tools/header-header-template +++ b/src/libical-glib/tools/header-header-template @@ -11,10 +11,6 @@ #include -#if !defined(LIBICAL_GLIB_UNSTABLE_API) && !defined(LIBICAL_GLIB_COMPILATION) -#error "Define LIBICAL_GLIB_UNSTABLE_API, to indicate it's understood the libical-glib API is currently unstable" -#endif - #define __LIBICAL_GLIB_H_INSIDE__ #include diff --git a/src/test/icalattach-leak.c b/src/test/icalattach-leak.c index 209bcba5..3740742c 100644 --- a/src/test/icalattach-leak.c +++ b/src/test/icalattach-leak.c @@ -14,9 +14,7 @@ #include -#define LIBICAL_GLIB_UNSTABLE_API #include "libical-glib/libical-glib.h" -#undef LIBICAL_GLIB_UNSTABLE_API static GSList *get_attachments(ICalComponent *comp) { -- cgit v1.2.1