summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2022-06-06 19:15:54 -0400
committerAllen Winter <allen.winter@kdab.com>2022-06-06 19:15:54 -0400
commit3396cf5a3d2a4a40292a76e758bc6f55cb567528 (patch)
tree531e7b0799d8d1b5e4b57e033ff19b658869e573
parent5de3e1500d33e3f14b289ee29ceb79cd9cc64fed (diff)
downloadlibical-git-3396cf5a3d2a4a40292a76e758bc6f55cb567528.tar.gz
consider libical-glib as stable now
fixes: #574
-rw-r--r--README.md5
-rw-r--r--ReleaseNotes.txt2
-rw-r--r--src/libical-glib/tools/header-header-template4
-rw-r--r--src/test/icalattach-leak.c2
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 `<libical-glib/libical-glib.h>`, 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 <libical-glib/libical-glib.h>.
* 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 <glib-object.h>
-#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 <libical-glib/i-cal-forward-declarations.h>
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 <stdio.h>
-#define LIBICAL_GLIB_UNSTABLE_API
#include "libical-glib/libical-glib.h"
-#undef LIBICAL_GLIB_UNSTABLE_API
static GSList *get_attachments(ICalComponent *comp)
{