[libhandy/unstable-api: 27/28] Remove the HANDY_USE_UNSTABLE_API guard
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy/unstable-api: 27/28] Remove the HANDY_USE_UNSTABLE_API guard
- Date: Fri, 7 Aug 2020 06:19:00 +0000 (UTC)
commit cf06b86d3091590a594379be32af1b3a3c222125
Author: Adrien Plazas <kekun plazas laposte net>
Date: Wed Jan 8 13:10:18 2020 +0100
Remove the HANDY_USE_UNSTABLE_API guard
The API has been stable for way more than a year now, we clearly don't
need it anymore.
debian/tests/build-test | 1 -
examples/handy-demo.c | 1 -
examples/hdy-demo-preferences-window.h | 1 -
examples/hdy-demo-window.h | 1 -
examples/hdy-view-switcher-demo-window.h | 1 -
glade/glade-hdy-carousel.h | 1 -
glade/glade-hdy-expander-row.h | 1 -
glade/glade-hdy-header-bar.h | 1 -
glade/glade-hdy-header-group.h | 1 -
glade/glade-hdy-leaflet.h | 1 -
glade/glade-hdy-preferences-page.h | 1 -
glade/glade-hdy-preferences-window.h | 1 -
glade/glade-hdy-search-bar.h | 1 -
glade/glade-hdy-swipe-group.h | 1 -
glade/glade-hdy-utils.h | 1 -
glade/glade-hdy-window.h | 1 -
src/handy.h | 4 ----
tests/test-action-row.c | 1 -
tests/test-application-window.c | 1 -
tests/test-avatar.c | 1 -
tests/test-carousel.c | 1 -
tests/test-combo-row.c | 1 -
tests/test-deck.c | 1 -
tests/test-expander-row.c | 1 -
tests/test-header-bar.c | 1 -
tests/test-header-group.c | 1 -
tests/test-keypad.c | 1 -
tests/test-leaflet.c | 1 -
tests/test-preferences-group.c | 1 -
tests/test-preferences-page.c | 1 -
tests/test-preferences-row.c | 1 -
tests/test-preferences-window.c | 1 -
tests/test-search-bar.c | 1 -
tests/test-squeezer.c | 1 -
tests/test-swipe-group.c | 1 -
tests/test-value-object.c | 1 -
tests/test-view-switcher-bar.c | 1 -
tests/test-view-switcher.c | 1 -
tests/test-window-handle.c | 1 -
tests/test-window.c | 1 -
40 files changed, 43 deletions(-)
---
diff --git a/debian/tests/build-test b/debian/tests/build-test
index ad5779c6..434a8460 100755
--- a/debian/tests/build-test
+++ b/debian/tests/build-test
@@ -11,7 +11,6 @@ cd "$AUTOPKGTEST_TMP"
cat <<EOF > handytest.c
#include <gtk/gtk.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
int
diff --git a/examples/handy-demo.c b/examples/handy-demo.c
index 93721b0a..052ce4ce 100644
--- a/examples/handy-demo.c
+++ b/examples/handy-demo.c
@@ -1,5 +1,4 @@
#include <gtk/gtk.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
#include "hdy-demo-preferences-window.h"
diff --git a/examples/hdy-demo-preferences-window.h b/examples/hdy-demo-preferences-window.h
index 05fdd076..accb7b5e 100644
--- a/examples/hdy-demo-preferences-window.h
+++ b/examples/hdy-demo-preferences-window.h
@@ -1,6 +1,5 @@
#pragma once
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
G_BEGIN_DECLS
diff --git a/examples/hdy-demo-window.h b/examples/hdy-demo-window.h
index ab598189..d263e131 100644
--- a/examples/hdy-demo-window.h
+++ b/examples/hdy-demo-window.h
@@ -1,6 +1,5 @@
#pragma once
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
G_BEGIN_DECLS
diff --git a/examples/hdy-view-switcher-demo-window.h b/examples/hdy-view-switcher-demo-window.h
index 00c06baa..76dcdd7a 100644
--- a/examples/hdy-view-switcher-demo-window.h
+++ b/examples/hdy-view-switcher-demo-window.h
@@ -1,6 +1,5 @@
#pragma once
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
G_BEGIN_DECLS
diff --git a/glade/glade-hdy-carousel.h b/glade/glade-hdy-carousel.h
index 22be6bb5..211c0a6c 100644
--- a/glade/glade-hdy-carousel.h
+++ b/glade/glade-hdy-carousel.h
@@ -8,7 +8,6 @@
#include <gladeui/glade.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/glade/glade-hdy-expander-row.h b/glade/glade-hdy-expander-row.h
index d8515631..221f65e7 100644
--- a/glade/glade-hdy-expander-row.h
+++ b/glade/glade-hdy-expander-row.h
@@ -8,7 +8,6 @@
#include <gladeui/glade.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
void glade_hdy_expander_row_post_create (GladeWidgetAdaptor *adaptor,
diff --git a/glade/glade-hdy-header-bar.h b/glade/glade-hdy-header-bar.h
index 00c8e5d1..8f6c84a0 100644
--- a/glade/glade-hdy-header-bar.h
+++ b/glade/glade-hdy-header-bar.h
@@ -8,7 +8,6 @@
#include <gladeui/glade.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/glade/glade-hdy-header-group.h b/glade/glade-hdy-header-group.h
index 6fe73969..5333c0fd 100644
--- a/glade/glade-hdy-header-group.h
+++ b/glade/glade-hdy-header-group.h
@@ -8,7 +8,6 @@
#include <gladeui/glade.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/glade/glade-hdy-leaflet.h b/glade/glade-hdy-leaflet.h
index aa65c2a9..9f274b05 100644
--- a/glade/glade-hdy-leaflet.h
+++ b/glade/glade-hdy-leaflet.h
@@ -8,7 +8,6 @@
#include <gladeui/glade.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/glade/glade-hdy-preferences-page.h b/glade/glade-hdy-preferences-page.h
index 54a473d8..2fd3f880 100644
--- a/glade/glade-hdy-preferences-page.h
+++ b/glade/glade-hdy-preferences-page.h
@@ -8,7 +8,6 @@
#include <gladeui/glade.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
void glade_hdy_preferences_page_post_create (GladeWidgetAdaptor *adaptor,
diff --git a/glade/glade-hdy-preferences-window.h b/glade/glade-hdy-preferences-window.h
index a7f580fc..e4f1f37b 100644
--- a/glade/glade-hdy-preferences-window.h
+++ b/glade/glade-hdy-preferences-window.h
@@ -8,7 +8,6 @@
#include <gladeui/glade.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
void glade_hdy_preferences_window_post_create (GladeWidgetAdaptor *adaptor,
diff --git a/glade/glade-hdy-search-bar.h b/glade/glade-hdy-search-bar.h
index d3a27e10..05306b88 100644
--- a/glade/glade-hdy-search-bar.h
+++ b/glade/glade-hdy-search-bar.h
@@ -8,7 +8,6 @@
#include <gladeui/glade.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
void glade_hdy_search_bar_post_create (GladeWidgetAdaptor *adaptor,
diff --git a/glade/glade-hdy-swipe-group.h b/glade/glade-hdy-swipe-group.h
index 8e64b3e1..5f593e5e 100644
--- a/glade/glade-hdy-swipe-group.h
+++ b/glade/glade-hdy-swipe-group.h
@@ -12,7 +12,6 @@
#include <gladeui/glade.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/glade/glade-hdy-utils.h b/glade/glade-hdy-utils.h
index 4ea665ec..11870d15 100644
--- a/glade/glade-hdy-utils.h
+++ b/glade/glade-hdy-utils.h
@@ -8,7 +8,6 @@
#include <gladeui/glade.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
#define ONLY_THIS_GOES_IN_THAT_MSG _("Only objects of type %s can be added to objects of type %s.")
diff --git a/glade/glade-hdy-window.h b/glade/glade-hdy-window.h
index 872274f4..75f15e42 100644
--- a/glade/glade-hdy-window.h
+++ b/glade/glade-hdy-window.h
@@ -8,7 +8,6 @@
#include <gladeui/glade.h>
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
void glade_hdy_window_post_create (GladeWidgetAdaptor *adaptor,
diff --git a/src/handy.h b/src/handy.h
index f2b6f36d..1ea48a7e 100644
--- a/src/handy.h
+++ b/src/handy.h
@@ -20,10 +20,6 @@ G_BEGIN_DECLS
#define _HANDY_INSIDE
-#ifndef HANDY_USE_UNSTABLE_API
-#error libhandy is unstable API. You must define HANDY_USE_UNSTABLE_API before including handy.h
-#endif
-
#include "hdy-version.h"
#include "hdy-action-row.h"
#include "hdy-animation.h"
diff --git a/tests/test-action-row.c b/tests/test-action-row.c
index c7c4843b..b6ae3c6d 100644
--- a/tests/test-action-row.c
+++ b/tests/test-action-row.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
gint activated;
diff --git a/tests/test-application-window.c b/tests/test-application-window.c
index 0ffb4fa4..a745de6e 100644
--- a/tests/test-application-window.c
+++ b/tests/test-application-window.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/tests/test-avatar.c b/tests/test-avatar.c
index c1a5fbad..ad330aeb 100644
--- a/tests/test-avatar.c
+++ b/tests/test-avatar.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
#define TEST_ICON_NAME "avatar-default-symbolic"
diff --git a/tests/test-carousel.c b/tests/test-carousel.c
index 7e430ea5..45b2fec9 100644
--- a/tests/test-carousel.c
+++ b/tests/test-carousel.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
gint notified;
diff --git a/tests/test-combo-row.c b/tests/test-combo-row.c
index a92b04da..12feea61 100644
--- a/tests/test-combo-row.c
+++ b/tests/test-combo-row.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/tests/test-deck.c b/tests/test-deck.c
index dcb2307e..e2c56776 100644
--- a/tests/test-deck.c
+++ b/tests/test-deck.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/tests/test-expander-row.c b/tests/test-expander-row.c
index 69412459..b0625d92 100644
--- a/tests/test-expander-row.c
+++ b/tests/test-expander-row.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/tests/test-header-bar.c b/tests/test-header-bar.c
index d20dbaf6..15064bfc 100644
--- a/tests/test-header-bar.c
+++ b/tests/test-header-bar.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/tests/test-header-group.c b/tests/test-header-group.c
index 3fca0be9..632c1ff0 100644
--- a/tests/test-header-group.c
+++ b/tests/test-header-group.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/tests/test-keypad.c b/tests/test-keypad.c
index aa936b90..f33037aa 100644
--- a/tests/test-keypad.c
+++ b/tests/test-keypad.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
gint notified;
diff --git a/tests/test-leaflet.c b/tests/test-leaflet.c
index e11c70fb..43afb3c1 100644
--- a/tests/test-leaflet.c
+++ b/tests/test-leaflet.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/tests/test-preferences-group.c b/tests/test-preferences-group.c
index 0cf987d8..d5c69ad4 100644
--- a/tests/test-preferences-group.c
+++ b/tests/test-preferences-group.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/tests/test-preferences-page.c b/tests/test-preferences-page.c
index 52724dc4..5f6d15ce 100644
--- a/tests/test-preferences-page.c
+++ b/tests/test-preferences-page.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/tests/test-preferences-row.c b/tests/test-preferences-row.c
index 5815c404..c4f17696 100644
--- a/tests/test-preferences-row.c
+++ b/tests/test-preferences-row.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/tests/test-preferences-window.c b/tests/test-preferences-window.c
index f60e9437..32a0f8d9 100644
--- a/tests/test-preferences-window.c
+++ b/tests/test-preferences-window.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/tests/test-search-bar.c b/tests/test-search-bar.c
index 3bc85391..9f907210 100644
--- a/tests/test-search-bar.c
+++ b/tests/test-search-bar.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/tests/test-squeezer.c b/tests/test-squeezer.c
index bddb6fb2..90a12e77 100644
--- a/tests/test-squeezer.c
+++ b/tests/test-squeezer.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/tests/test-swipe-group.c b/tests/test-swipe-group.c
index 6e63deb4..41b174fc 100644
--- a/tests/test-swipe-group.c
+++ b/tests/test-swipe-group.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
static void
diff --git a/tests/test-value-object.c b/tests/test-value-object.c
index 46cee42f..3b9f03c5 100644
--- a/tests/test-value-object.c
+++ b/tests/test-value-object.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/tests/test-view-switcher-bar.c b/tests/test-view-switcher-bar.c
index f19e2a3c..54538a67 100644
--- a/tests/test-view-switcher-bar.c
+++ b/tests/test-view-switcher-bar.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/tests/test-view-switcher.c b/tests/test-view-switcher.c
index e27e8dfc..2f6c89dc 100644
--- a/tests/test-view-switcher.c
+++ b/tests/test-view-switcher.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/tests/test-window-handle.c b/tests/test-window-handle.c
index 2bdada7d..190c6670 100644
--- a/tests/test-window-handle.c
+++ b/tests/test-window-handle.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
diff --git a/tests/test-window.c b/tests/test-window.c
index e2105394..4b286de6 100644
--- a/tests/test-window.c
+++ b/tests/test-window.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#define HANDY_USE_UNSTABLE_API
#include <handy.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]