[gimp] libgimp: keep gimplegacy as introspectable, at least temporarily.



commit 826c09b6290d33f22d5109b676c7c27cc46e926e
Author: Jehan <jehan girinstud io>
Date:   Wed Jul 31 11:15:25 2019 +0200

    libgimp: keep gimplegacy as introspectable, at least temporarily.
    
    Recent commits broke the Python plug-ins again because the old API is
    not introspected anymore. Of course, by release of GIMP 3, we should
    probably remove this deprecated API from introspection. But first, we
    have to figure out how and if the new API can be used in bindings.

 libgimp/Makefile.am | 1 -
 libgimp/Makefile.gi | 9 ++++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/libgimp/Makefile.am b/libgimp/Makefile.am
index 804eeedfdd..7dad0bfc4c 100644
--- a/libgimp/Makefile.am
+++ b/libgimp/Makefile.am
@@ -107,7 +107,6 @@ libgimp_built_sources = \
        gimpenums.c
 
 libgimp_private_sources = \
-       gimplegacy.c            \
        gimpgpcompat.c          \
        gimpgpcompat.h          \
        gimpgpparams.c          \
diff --git a/libgimp/Makefile.gi b/libgimp/Makefile.gi
index f4db5b974a..defc13c341 100644
--- a/libgimp/Makefile.gi
+++ b/libgimp/Makefile.gi
@@ -149,7 +149,14 @@ libgimp_introspectable = \
        $(top_srcdir)/libgimp/gimpprogress.c            \
        $(top_srcdir)/libgimp/gimpprogress.h            \
        $(top_srcdir)/libgimp/gimpselection.c           \
-       $(top_srcdir)/libgimp/gimpselection.h
+       $(top_srcdir)/libgimp/gimpselection.h           \
+       \
+       $(top_srcdir)/libgimp/gimplegacy.c              \
+       $(top_srcdir)/libgimp/gimplegacy.h
+
+# Let's keep gimplegacy as introspectable until we figure out how to use
+# the new GimpPlugIn API in bindings. TODO: remove later and put back
+# into libgimp_private_sources.
 
 libgimpui_introspectable =                             \
        $(top_srcdir)/libgimp/gimpui.c                  \


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