diff -up at-spi-1.24.0/atk-bridge/bridge.c.make-resident at-spi-1.24.0/atk-bridge/bridge.c
--- at-spi-1.24.0/atk-bridge/bridge.c.make-resident 2008-10-03 22:09:21.000000000 -0400
+++ at-spi-1.24.0/atk-bridge/bridge.c 2008-10-03 22:10:58.000000000 -0400
@@ -41,6 +41,7 @@
#include "accessible.h"
#include "application.h"
#include <bonobo-activation/bonobo-activation-register.h>
+#include <gmodule.h>
#undef SPI_BRIDGE_DEBUG
@@ -1395,3 +1396,10 @@ spi_atk_bridge_init_rect (CORBA_any *any
spi_init_any_rect (any, app, role, name, rect);
}
+const char *
+g_module_check_init (GModule *module)
+{
+ g_module_make_resident (module);
+
+ return NULL;
+}
diff -up at-spi-1.24.0/configure.in.make-resident at-spi-1.24.0/configure.in
--- at-spi-1.24.0/configure.in.make-resident 2008-09-22 04:25:21.000000000 -0400
+++ at-spi-1.24.0/configure.in 2008-10-03 22:09:21.000000000 -0400
@@ -116,6 +116,7 @@ AC_SUBST(TESTS_CFLAGS)
PKG_CHECK_MODULES(ATK_BRIDGE, [
libbonobo-2.0 >= req_ver_libbonobo
atk >= req_ver_atk
+ gmodule-2.0
])
AC_SUBST(ATK_BRIDGE_LIBS)
AC_SUBST(ATK_BRIDGE_CFLAGS)