[g-a-devel]yelp and atk-bridge
- From: "Padraig O'Briain" <Padraig Obriain Sun COM>
- To: gnome-accessibility-devel gnome org
- Subject: [g-a-devel]yelp and atk-bridge
- Date: Wed, 27 Mar 2002 16:07:55 +0000 (GMT)
When I ran yelp with atk-bridge I got some warnings.
Patch to fix warning attached.
OK to commit?
Padraig
cvs server: Diffing .
Index: hypertext.c
===================================================================
RCS file: /cvs/gnome/at-spi/libspi/hypertext.c,v
retrieving revision 1.11
diff -u -p -r1.11 hypertext.c
--- hypertext.c 18 Dec 2001 13:38:44 -0000 1.11
+++ hypertext.c 27 Mar 2002 15:36:15 -0000
@@ -28,12 +28,14 @@
#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 *hypert
BONOBO_TYPE_FUNC_FULL (SpiHypertext,
Accessibility_Hypertext,
- BONOBO_TYPE_OBJECT,
+ PARENT_TYPE,
spi_hypertext);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]