[at-spi2-core] Remove unused default-atspi-introspection-path configure option



commit 4a020269e96930196653581daa4f0ab59f83a29c
Author: Mike Gorse <mgorse novell com>
Date:   Mon Aug 23 15:08:01 2010 -0400

    Remove unused default-atspi-introspection-path configure option

 configure.ac              |    7 -------
 registryd/registry-main.c |   10 ----------
 2 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 44fe6cf..b935b08 100644
--- a/configure.ac
+++ b/configure.ac
@@ -134,13 +134,6 @@ if test x$enable_xevie = xyes ; then
 fi
 LIBS="$LIBS $save_LIBS"
 
-AC_ARG_VAR([DEFAULT_ATSPI_INTROSPECTION_PATH],
-        [Set the default path for the install of DBus introspection XML ]
-        [relative to the pkgdatadir.])
-if test -z "$DEFAULT_ATSPI_INTROSPECTION_PATH"; then
-	  DEFAULT_ATSPI_INTROSPECTION_PATH=at-spi2/dbus
-fi
-
 AC_ARG_WITH([dbus_daemondir],
 	[AS_HELP_STRING([--with-dbus-daemondir=<directory>],
 		[Directory where the DBUS daemon is installed])],
diff --git a/registryd/registry-main.c b/registryd/registry-main.c
index 630148f..e41a812 100644
--- a/registryd/registry-main.c
+++ b/registryd/registry-main.c
@@ -35,10 +35,6 @@
 #include "registry.h"
 #include "deviceeventcontroller.h"
 
-#if !defined ATSPI_INTROSPECTION_PATH
-    #error "No introspection XML directory defined"
-#endif
-
 #ifdef RELOCATE
 #define DBUS_GCONF_KEY  "/desktop/gnome/interface/at-spi-dbus"
 #else
@@ -292,7 +288,6 @@ main (int argc, char **argv)
 {
   SpiRegistry *registry;
   SpiDEController *dec;
-  gchar *introspection_directory;
 
   DBusConnection *bus = NULL;
 
@@ -338,11 +333,6 @@ main (int argc, char **argv)
       g_print ("SpiRegistry daemon is running with well-known name - %s\n", dbus_name);
     }
 
-  /* Get D-Bus introspection directory */
-  introspection_directory = (char *) g_getenv("ATSPI_INTROSPECTION_PATH");
-  if (introspection_directory == NULL)
-      introspection_directory = ATSPI_INTROSPECTION_PATH;
-
   registry = spi_registry_new (bus);
   dec = spi_registry_dec_new (registry, bus);
 



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