+2004-09-03 Bill Haneman <bill.haneman@sun.com>
+
+ * cspi/spi_main.c:
+ (SPI_init): Return error code '2' if the activated
+ registry cannot be pinged. Fixes bug #147648.
+
2004-07-28 Bill Haneman <bill.haneman@sun.com>
* registryd/deviceeventcontroller.c:
+What's new in at-spi-1.5.4:
+
+* Registration failure at SPI_init is now detected and
+ an error code is returned to the caller (bug #147648).
+
+* We now use polling as our default for detecting mouse
+ button changes (this was formerly our fallback method);
+ this prevents conflict with Xstroke.
+ [a better long-term fix requires the Xevie extension]
+
+
+============
+
What's new in at-spi-1.5.3:
* New role EMBEDDED (bug #144415).
*
* Connects to the accessibility registry and initializes the SPI.
*
- * Returns: 0 on success, otherwise an integer error code.
+ * Returns: 0 on success, otherwise an integer error code.
**/
int
SPI_init (void)
registry = cspi_init ();
g_atexit (cspi_cleanup);
-
- return 0;
+
+ /* fprintf (stderr, "registry=%x\n", (int) registry); */
+
+ if ((registry != CORBA_OBJECT_NIL) && (cspi_ping (registry)))
+ return 0;
+ else
+ return 2;
}
/**