[gimp] libgimp: remove the GIMP_DISABLE_COMPAT_CRUFT define



commit 4364b784468f5043e07de45a169eb6fb15947ce0
Author: Michael Natterer <mitch gimp org>
Date:   Fri Aug 30 13:00:00 2019 +0200

    libgimp: remove the GIMP_DISABLE_COMPAT_CRUFT define
    
    there is no legacy API left a ported plug-in could accidentially use.

 libgimp/gimp.c                   | 2 --
 libgimp/gimpfileprocedure.c      | 2 --
 libgimp/gimpimageprocedure.c     | 2 --
 libgimp/gimplegacy.h             | 3 ---
 libgimp/gimploadprocedure.c      | 2 --
 libgimp/gimppdb.c                | 2 --
 libgimp/gimppdbprocedure.c       | 2 --
 libgimp/gimpplugin.c             | 2 --
 libgimp/gimpprocedure.c          | 2 --
 libgimp/gimpsaveprocedure.c      | 2 --
 libgimp/gimpthumbnailprocedure.c | 2 --
 plug-ins/help/help.c             | 2 --
 12 files changed, 25 deletions(-)
---
diff --git a/libgimp/gimp.c b/libgimp/gimp.c
index da05669e90..3414069a92 100644
--- a/libgimp/gimp.c
+++ b/libgimp/gimp.c
@@ -90,8 +90,6 @@
 
 #include <locale.h>
 
-#define GIMP_DISABLE_COMPAT_CRUFT
-
 #include "gimp.h"
 
 #include "libgimpbase/gimpbase-private.h"
diff --git a/libgimp/gimpfileprocedure.c b/libgimp/gimpfileprocedure.c
index 076032136e..c6e0e0709d 100644
--- a/libgimp/gimpfileprocedure.c
+++ b/libgimp/gimpfileprocedure.c
@@ -20,8 +20,6 @@
 
 #include "config.h"
 
-#define GIMP_DISABLE_COMPAT_CRUFT
-
 #include "gimp.h"
 #include "gimpfileprocedure.h"
 
diff --git a/libgimp/gimpimageprocedure.c b/libgimp/gimpimageprocedure.c
index ec5c2d8dbb..cd2e08caa5 100644
--- a/libgimp/gimpimageprocedure.c
+++ b/libgimp/gimpimageprocedure.c
@@ -20,8 +20,6 @@
 
 #include "config.h"
 
-#define GIMP_DISABLE_COMPAT_CRUFT
-
 #include "gimp.h"
 
 #include "gimpimageprocedure.h"
diff --git a/libgimp/gimplegacy.h b/libgimp/gimplegacy.h
index d191ffa777..7494597c37 100644
--- a/libgimp/gimplegacy.h
+++ b/libgimp/gimplegacy.h
@@ -27,8 +27,6 @@
 
 G_BEGIN_DECLS
 
-#ifndef GIMP_DISABLE_COMPAT_CRUFT
-
 
 #ifdef GIMP_DEPRECATED_REPLACE_NEW_API
 #define GIMP_PLUGIN GIMP_PDB_PROC_TYPE_PLUGIN
@@ -270,7 +268,6 @@ GimpValueArray * gimp_run_procedure_array (const gchar          *name,
 gboolean   gimp_plugin_menu_register        (const gchar   *procedure_name,
                                              const gchar   *menu_path);
 
-#endif /* GIMP_DISABLE_COMPAT_CRUFT */
 
 G_END_DECLS
 
diff --git a/libgimp/gimploadprocedure.c b/libgimp/gimploadprocedure.c
index 87c926a07c..fec6da2349 100644
--- a/libgimp/gimploadprocedure.c
+++ b/libgimp/gimploadprocedure.c
@@ -20,8 +20,6 @@
 
 #include "config.h"
 
-#define GIMP_DISABLE_COMPAT_CRUFT
-
 #include "gimp.h"
 
 #include "gimploadprocedure.h"
diff --git a/libgimp/gimppdb.c b/libgimp/gimppdb.c
index 09e62f9c96..5c1c0b48df 100644
--- a/libgimp/gimppdb.c
+++ b/libgimp/gimppdb.c
@@ -20,8 +20,6 @@
 
 #include "config.h"
 
-#define GIMP_DISABLE_COMPAT_CRUFT
-
 #include "gimp.h"
 
 #include "libgimpbase/gimpprotocol.h"
diff --git a/libgimp/gimppdbprocedure.c b/libgimp/gimppdbprocedure.c
index 0ef35e189c..80996380e3 100644
--- a/libgimp/gimppdbprocedure.c
+++ b/libgimp/gimppdbprocedure.c
@@ -20,8 +20,6 @@
 
 #include "config.h"
 
-#define GIMP_DISABLE_COMPAT_CRUFT
-
 #include "gimp.h"
 
 #include "gimppdb-private.h"
diff --git a/libgimp/gimpplugin.c b/libgimp/gimpplugin.c
index a38ed9de3e..92f3cde54c 100644
--- a/libgimp/gimpplugin.c
+++ b/libgimp/gimpplugin.c
@@ -24,8 +24,6 @@
 #include <errno.h>
 #include <string.h>
 
-#define GIMP_DISABLE_COMPAT_CRUFT
-
 #include "gimp.h"
 
 #include "libgimpbase/gimpprotocol.h"
diff --git a/libgimp/gimpprocedure.c b/libgimp/gimpprocedure.c
index 8e8bcbcfcf..2596d574bc 100644
--- a/libgimp/gimpprocedure.c
+++ b/libgimp/gimpprocedure.c
@@ -23,8 +23,6 @@
 #include <stdarg.h>
 #include <sys/types.h>
 
-#define GIMP_DISABLE_COMPAT_CRUFT
-
 #include "gimp.h"
 
 #include "libgimpbase/gimpprotocol.h"
diff --git a/libgimp/gimpsaveprocedure.c b/libgimp/gimpsaveprocedure.c
index 20e4da5e72..c08713f58d 100644
--- a/libgimp/gimpsaveprocedure.c
+++ b/libgimp/gimpsaveprocedure.c
@@ -20,8 +20,6 @@
 
 #include "config.h"
 
-#define GIMP_DISABLE_COMPAT_CRUFT
-
 #include "gimp.h"
 
 #include "gimpsaveprocedure.h"
diff --git a/libgimp/gimpthumbnailprocedure.c b/libgimp/gimpthumbnailprocedure.c
index c0beb36be2..6ec0ca3f6b 100644
--- a/libgimp/gimpthumbnailprocedure.c
+++ b/libgimp/gimpthumbnailprocedure.c
@@ -20,8 +20,6 @@
 
 #include "config.h"
 
-#define GIMP_DISABLE_COMPAT_CRUFT
-
 #include "gimp.h"
 
 #include "gimpthumbnailprocedure.h"
diff --git a/plug-ins/help/help.c b/plug-ins/help/help.c
index dd6678f678..01d2e847db 100644
--- a/plug-ins/help/help.c
+++ b/plug-ins/help/help.c
@@ -26,8 +26,6 @@
 
 #include <glib.h>
 
-#define GIMP_DISABLE_COMPAT_CRUFT
-
 #include "libgimp/gimp.h"
 
 #include "gimphelp.h"


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