[gtk-vnc] Explicitly deprecate python binding prior to deletion



commit c58175d21e8742ea5f04f769fe36ddb8664a70eb
Author: Daniel P. Berrangé <berrange redhat com>
Date:   Fri Mar 23 12:07:08 2018 +0000

    Explicitly deprecate python binding prior to deletion
    
    The python binding only works with Python 2 and GTK 2, neither of which
    should be used long term. Applications should switch to GObject
    Introspection which works with Python 3 and GTK 3.
    
    Signed-off-by: Daniel P. Berrangé <berrange redhat com>

 configure.ac |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d08d542..86538ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -468,3 +468,11 @@ Configure summary:
        GTK+ version................:  ${GTK_API_VERSION}
        TLS priority................:  ${with_tls_priority}
 "
+
+if test ${WITH_PYTHON} = "yes" ; then
+  echo "WARNING:"
+  echo "WARNING: The python2 binding will be deleted in the next release."
+  echo "WARNING: Please use the GObject Introspection dynamic bindings."
+  echo "WARNING:"
+  echo
+fi


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