static AtkTable *
get_table (DBusMessage * message)
{
- AtkObject *obj = spi_dbus_get_object (dbus_message_get_path (message));
+ AtkObject *obj = atk_dbus_get_object (dbus_message_get_path (message));
if (!obj)
return NULL;
return ATK_TABLE (obj);
static AtkTable *
get_table_from_path (const char *path, void *user_data)
{
- AtkObject *obj = spi_dbus_get_object (path);
+ AtkObject *obj = atk_dbus_get_object (path);
if (!obj || !ATK_IS_TABLE(obj))
return NULL;
return ATK_TABLE (obj);
void
spi_initialize_table (DRouteData * data)
{
- droute_add_interface (data, "org.freedesktop.atspi.Table", methods,
+ droute_add_interface (data, SPI_DBUS_INTERFACE_TABLE, methods,
properties,
(DRouteGetDatumFunction) get_table_from_path, NULL);
};