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_warn_ev (CORBA_Environment *ev, const char *error_string)
22 if (ev->_major != CORBA_NO_EXCEPTION)
26 err = bonobo_exception_get_text (ev);
28 fprintf (stderr, "Warning: AT-SPI error: %s: %s\n",
33 CORBA_exception_free (ev);
44 cspi_check_ev (CORBA_Environment *ev, const char *error_string)
46 if (ev->_major != CORBA_NO_EXCEPTION)
50 err = bonobo_exception_get_text (ev);
52 fprintf (stderr, "AT-SPI error: %s: %s\n",
57 CORBA_exception_free (ev);