#include <atk/atk.h>
#include <droute/droute.h>
-#include "accessible-marshaller.h"
#include "common/spi-dbus.h"
+#include "introspection.h"
+#include "object.h"
static AtkHyperlink *
get_hyperlink (void *user_data)
return droute_invalid_arguments_error (message);
}
atk_object = atk_hyperlink_get_object (link, i);
- return spi_dbus_return_sub_object (message, G_OBJECT (atk_object),
- G_OBJECT (link), FALSE);
+ return spi_object_return_reference (message, atk_object);
}
static DBusMessage *
{
droute_path_add_interface (path,
SPI_DBUS_INTERFACE_HYPERLINK,
+ spi_org_freedesktop_atspi_Hyperlink,
methods, properties);
};