static AtkSelection *
get_selection (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_SELECTION (obj);
static AtkSelection *
get_selection_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_SELECTION(obj))
return NULL;
return ATK_SELECTION (obj);
void
spi_initialize_selection (DRouteData * data)
{
- droute_add_interface (data, "org.freedesktop.atspi.Selection",
+ droute_add_interface (data, SPI_DBUS_INTERFACE_SELECTION,
methods, properties,
(DRouteGetDatumFunction) get_selection_from_path,
NULL);