2 #include <cspi/spi-private.h>
6 * @s: a character string returned from another at-spi call.
8 * Free a character string returned from an at-spi call. Clients of
9 * at-spi should use this function instead of free () or g_free().
10 * This API should not be used to free strings
11 * from other libraries or allocated by the client.
14 SPI_freeString (char *s)
20 cspi_check_ev (const char *error_string)
22 CORBA_Environment *ev = cspi_ev ();
24 if (ev->_major != CORBA_NO_EXCEPTION)
28 err = bonobo_exception_get_text (ev);
30 fprintf (stderr, "Warning: AT-SPI error: %s: %s\n",
35 CORBA_exception_free (ev);