* libspi/application.c (spi_application_new):
use spi_accessible_construct so we use the AtkObject
cache correctly.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@261
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
+2002-03-21 Michael Meeks <michael@ximian.com>
+
+ * libspi/application.c (spi_application_new):
+ use spi_accessible_construct so we use the AtkObject
+ cache correctly.
+
2002-03-19 Michael Meeks <michael@ximian.com>
* registryd/registry.c (desktop_remove_application),
SpiApplication *
spi_application_new (AtkObject *app_root)
{
- SpiApplication *retval = g_object_new (SPI_APPLICATION_TYPE, NULL);
-
- spi_base_construct (SPI_BASE (retval), G_OBJECT(app_root));
-
- return retval;
+ return SPI_APPLICATION (spi_accessible_construct (
+ SPI_APPLICATION_TYPE, app_root));
}
GType spi_base_get_type (void);
void spi_base_construct (SpiBase *base,
- GObject *gobject);
+ GObject *gobject);
void spi_base_construct_default (SpiBase *base);
-GObject *spi_base_get_gobject (SpiBase *base);
+GObject *spi_base_get_gobject (SpiBase *base);
G_END_DECLS