#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <locale.h>
#include <gtk/gtk.h>
#include <cspi/spi.h>
#include <libbonobo.h>
g_assert (!strcmp (str, "GAIL"));
SPI_freeString (str);
+ str = AccessibleApplication_getLocale (application, LC_MESSAGES);
+ g_assert (!strcmp (str, setlocale (LC_MESSAGES, NULL)));
+ SPI_freeString (str);
+
str = AccessibleApplication_getVersion (application);
g_assert (str != NULL);
SPI_freeString (str);
/* Wait for any pending events from the registry */
g_usleep (500*1000);
for (i = 0; i < 100; i++)
- linc_main_iteration (FALSE);
+ CORBA_ORB_perform_work (NULL, NULL);
if ((leaked = SPI_exit ()))
g_error ("Leaked %d SPI handles", leaked);