From 058730b7dcc3d1013c3ddde0479c26fdb9a42ee6 Mon Sep 17 00:00:00 2001 From: padraigo Date: Wed, 27 Mar 2002 16:24:22 +0000 Subject: [PATCH] * libspi/hypertext.c: 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 | 5 +++++ libspi/hypertext.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 55d8230..b24b2e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-03-27 Padraig O'Briain + + * libspi/hypertext.c: + Fix warnings when yelp is used with atk-bridge + 2002-03-21 Michael Meeks * libspi/application.c (spi_application_new): diff --git a/libspi/hypertext.c b/libspi/hypertext.c index 4ec1085..c186135 100644 --- a/libspi/hypertext.c +++ b/libspi/hypertext.c @@ -28,12 +28,14 @@ #include #include +#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); -- 2.7.4