summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gorse <mgorse@novell.com>2010-08-23 15:08:01 -0400
committerMike Gorse <mgorse@novell.com>2010-08-23 15:08:01 -0400
commit4a020269e96930196653581daa4f0ab59f83a29c (patch)
tree1298f45842c13f5edcc272b9943f6da85b253608
parent248c3f3a8f23774da82f2ad597482d8b7fc871aa (diff)
downloadat-spi2-core-4a020269e96930196653581daa4f0ab59f83a29c.tar.gz
Remove unused default-atspi-introspection-path configure option
-rw-r--r--configure.ac7
-rw-r--r--registryd/registry-main.c10
2 files changed, 0 insertions, 17 deletions
diff --git a/configure.ac b/configure.ac
index 44fe6cf3..b935b084 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 630148f7..e41a812b 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);