2008-05-16 Mark Doffman <mark.doffman@codethink.co.uk>
[platform/core/uifw/at-spi2-atk.git] / droute / introspect-loader.c
similarity index 90%
rename from libspi/introspect-loader.c
rename to droute/introspect-loader.c
index 548f78d..723d3d6 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 #include <glib.h>
-#include <accessible.h>
 
 /*
  * This file contains utilities for loading introspection XML
@@ -34,7 +33,7 @@
 /*
  * Provides the path for the introspection directory.
  */
-#if !defined ATSPI_DBUS_INTROSPECTION_DIRECTORY
+#if !defined ATSPI_INTROSPECTION_PATH
     #error "No introspection XML directory defined"
 #endif
 
@@ -57,9 +56,9 @@ spi_append_interface (GString *str, const char *interface)
 
   GError *err = NULL;
 
-  introspection_directory = (char *) g_getenv("ATSPI_DBUS_INTROSPECTION_DIRECTORY");
+  introspection_directory = (char *) g_getenv("ATSPI_INTROSPECTION_PATH");
   if (introspection_directory == NULL)
-      introspection_directory = ATSPI_DBUS_INTROSPECTION_DIRECTORY;
+      introspection_directory = ATSPI_INTROSPECTION_PATH;
 
   filename = g_build_filename(introspection_directory, interface, NULL);