[pygobject] make invoke-ng the only invoker



commit 62d59fa2c2b31d7a3cac8996d58234d4b13bb19f
Author: John (J5) Palmieri <johnp redhat com>
Date:   Mon Jul 18 10:56:36 2011 -0400

    make invoke-ng the only invoker

 configure.ac     |   11 -
 gi/Makefile.am   |   10 +-
 gi/pygi-invoke.c | 1030 ------------------------------------------------------
 3 files changed, 1 insertions(+), 1050 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d4fcbe3..fb69237 100644
--- a/configure.ac
+++ b/configure.ac
@@ -124,16 +124,6 @@ AC_ARG_ENABLE(thread,
   AC_HELP_STRING([--disable-thread], [Disable pygobject threading support]),,
   enable_thread=yes)
 
-dnl Build with the new caching invoker
-AC_ARG_ENABLE(invoke-ng,
-  AC_HELP_STRING([--disable-invoke-ng], [Disable the new caching invoke path]),,
-  enable_invoke_ng=yes)
-if test "${enable_invoke_ng}" == yes; then
-  AC_DEFINE(ENABLE_INVOKE_NG, 1, Enable the new invoke caching code path)
-fi
-
-AM_CONDITIONAL(ENABLE_INVOKE_NG, test x$enable_invoke_ng == xyes)
-
 dnl Building documentation
 AC_ARG_ENABLE(docs,
   AC_HELP_STRING([--enable-docs], [Enable documentation building]),enable_docs=$enableval,
@@ -294,5 +284,4 @@ AC_OUTPUT
 echo
 echo "libffi support: $have_libffi"
 echo "introspection support: $enable_introspection"
-echo "invoke-ng support: $enable_invoke_ng"
 echo
diff --git a/gi/Makefile.am b/gi/Makefile.am
index fe1e114..fb28a0c 100644
--- a/gi/Makefile.am
+++ b/gi/Makefile.am
@@ -31,7 +31,6 @@ _gi_la_SOURCES = \
 	pygi-repository.h \
 	pygi-info.c \
 	pygi-info.h \
-	pygi-invoke.h \
 	pygi-foreign.c \
 	pygi-foreign.h \
 	pygi-foreign-gvariant.c \
@@ -55,10 +54,7 @@ _gi_la_SOURCES = \
 	pygi-signal-closure.c \
 	pygi-signal-closure.h \
 	pygobject-external.h \
-	gimodule.c
-
-if ENABLE_INVOKE_NG
-_gi_la_SOURCES += \
+	gimodule.c \
 	pygi-invoke-ng.c \
 	pygi-invoke-state-struct.h \
 	pygi-cache.h \
@@ -69,10 +65,6 @@ _gi_la_SOURCES += \
 	pygi-marshal-out.h \
 	pygi-marshal-cleanup.c \
 	pygi-marshal-cleanup.h
-else
-_gi_la_SOURCES += \
-	pygi-invoke.c
-endif
 
 _gi_cairo_la_CFLAGS = \
 	$(PYTHON_INCLUDES) \



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