[retro-gtk/stable-api: 165/165] Drop the RETRO_GTK_USE_UNSTABLE_API guard




commit ac8ad9079aa86cef4557be05451ea15cb87318cc
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sun Jan 19 11:04:21 2020 +0100

    Drop the RETRO_GTK_USE_UNSTABLE_API guard
    
    Drop the need to acklowledge the API's unstability, as we will
    guarantee its stability.

 demos/meson.build             | 5 -----
 retro-gtk/meson.build         | 1 -
 retro-gtk/retro-gtk.h         | 4 ----
 tests/meson.build             | 1 -
 tests/retro-reftest-file.h    | 1 -
 tests/retro-test-controller.h | 1 -
 6 files changed, 13 deletions(-)
---
diff --git a/demos/meson.build b/demos/meson.build
index 64676b8..945d5e1 100644
--- a/demos/meson.build
+++ b/demos/meson.build
@@ -1,11 +1,6 @@
-retro_demo_c_args = [
-  '-DRETRO_GTK_USE_UNSTABLE_API',
-]
-
 executable(
   'retro-demo',
   'retro-demo.c',
-  c_args: retro_demo_c_args,
   dependencies: retro_gtk_dep,
   gui_app: true,
   install: true,
diff --git a/retro-gtk/meson.build b/retro-gtk/meson.build
index aa3f311..93cee29 100644
--- a/retro-gtk/meson.build
+++ b/retro-gtk/meson.build
@@ -127,7 +127,6 @@ if get_option('introspection')
   retro_gtk_gir_args = [
     '--quiet',
     '-DRETRO_GTK_COMPILATION',
-    '-DRETRO_GTK_USE_UNSTABLE_API',
   ]
 
   retro_gtk_gir_includes = [
diff --git a/retro-gtk/retro-gtk.h b/retro-gtk/retro-gtk.h
index e5ef793..e3c1b10 100644
--- a/retro-gtk/retro-gtk.h
+++ b/retro-gtk/retro-gtk.h
@@ -4,10 +4,6 @@
 
 #define __RETRO_GTK_INSIDE__
 
-#ifndef RETRO_GTK_USE_UNSTABLE_API
-#error    retro-gtk is unstable API. You must define RETRO_GTK_USE_UNSTABLE_API before including retro-gtk.h
-#endif
-
 #include "retro-controller.h"
 #include "retro-controller-codes.h"
 #include "retro-controller-iterator.h"
diff --git a/tests/meson.build b/tests/meson.build
index d8973d3..0eeca78 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -47,7 +47,6 @@ build_conf.set('testdatadir', meson.source_root() / 'tests')
 
 test_c_args = [
   '-DRETRO_LOG_DOMAIN="Retro"',
-  '-DRETRO_GTK_USE_UNSTABLE_API',
 ]
 
 tests = [
diff --git a/tests/retro-reftest-file.h b/tests/retro-reftest-file.h
index b3de810..59357e0 100644
--- a/tests/retro-reftest-file.h
+++ b/tests/retro-reftest-file.h
@@ -21,7 +21,6 @@
 #pragma once
 
 #include <gio/gio.h>
-#define RETRO_GTK_USE_UNSTABLE_API
 #include <retro-gtk/retro-gtk.h>
 
 G_BEGIN_DECLS
diff --git a/tests/retro-test-controller.h b/tests/retro-test-controller.h
index 04df382..c305441 100644
--- a/tests/retro-test-controller.h
+++ b/tests/retro-test-controller.h
@@ -20,7 +20,6 @@
 
 #pragma once
 
-#define RETRO_GTK_USE_UNSTABLE_API
 #include <retro-gtk/retro-gtk.h>
 
 G_BEGIN_DECLS


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]