* libspi/hypertext.c:
authorpadraigo <padraigo@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Wed, 27 Mar 2002 16:24:22 +0000 (16:24 +0000)
committerpadraigo <padraigo@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Wed, 27 Mar 2002 16:24:22 +0000 (16:24 +0000)
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

ChangeLog
libspi/hypertext.c

index 55d8230..b24b2e9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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):
index 4ec1085..c186135 100644 (file)
 #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;
 }
@@ -118,5 +120,5 @@ spi_hypertext_init (SpiHypertext *hypertext)
 
 BONOBO_TYPE_FUNC_FULL (SpiHypertext,
                       Accessibility_Hypertext,
-                      BONOBO_TYPE_OBJECT,
+                      PARENT_TYPE,
                       spi_hypertext);