Accessibility_Registry registry;
Accessibility_Event e;
- Accessible *accessible;
- Application *app;
+ SpiAccessible *accessible;
+ SpiApplication *app;
CORBA_exception_init(&ev);
}
/* Create the accesssible application server object */
- snprintf(sbuf, APP_STATIC_BUFF_SZ, "application-%s", argv[0]);
+ g_snprintf(sbuf, APP_STATIC_BUFF_SZ, "application-%s", argv[0]);
atko = g_object_new (atk_object_get_type(), NULL);
atk_object_set_name (atko, sbuf);
atk_object_set_description( atko, "test application for accessibility SPI");
- app = application_new(atko);
+ app = spi_application_new(atko);
- /* Create the Accessible 'source' for the event */
- accessible = accessible_new (atko);
+ /* Create the SpiAccessible 'source' for the event */
+ accessible = spi_accessible_new (atko);
fprintf(stderr, "accessible created.\n");
e.source = bonobo_object_corba_objref ( bonobo_object (accessible));