Fix warnings when yelp is used with atk-bridge
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@262
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
+2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
+
+ * libspi/hypertext.c:
+ Fix warnings when yelp is used with atk-bridge
+
2002-03-21 Michael Meeks <michael@ximian.com>
* libspi/application.c (spi_application_new):
#include <libspi/hyperlink.h>
#include <libspi/hypertext.h>
+#define PARENT_TYPE SPI_TYPE_BASE
+
SpiHypertext *
spi_hypertext_interface_new (AtkObject *obj)
{
SpiHypertext *new_hypertext = g_object_new (SPI_HYPERTEXT_TYPE, NULL);
- spi_text_construct (SPI_TEXT (new_hypertext), obj);
+ spi_base_construct (SPI_BASE (new_hypertext), G_OBJECT (obj));
return new_hypertext;
}
BONOBO_TYPE_FUNC_FULL (SpiHypertext,
Accessibility_Hypertext,
- BONOBO_TYPE_OBJECT,
+ PARENT_TYPE,
spi_hypertext);