* AT-SPI - Assistive Technology Service Provider Interface
* (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
*
- * Copyright 2001 Sun Microsystems Inc, Ximian Inc.
+ * Copyright 2001, 2002 Sun Microsystems Inc.,
+ * Copyright 2001, 2002 Ximian, Inc. Ximian Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
g_return_val_if_fail (hypertext != NULL, 0);
- return (CORBA_long) atk_hypertext_get_n_links (hypertext);
+ return atk_hypertext_get_n_links (hypertext);
}
link = atk_hypertext_get_link (hypertext, linkIndex);
g_return_val_if_fail (link != NULL, CORBA_OBJECT_NIL);
- rv = BONOBO_OBJREF (spi_hyperlink_new (ATK_OBJECT (link)));
+ rv = BONOBO_OBJREF (spi_hyperlink_new (link));
return CORBA_Object_duplicate (rv, ev);
}
g_return_val_if_fail (hypertext != NULL, 0);
- return (CORBA_long)
- atk_hypertext_get_link_index (hypertext,
- (gint) characterIndex);
+ return atk_hypertext_get_link_index (hypertext,
+ characterIndex);
}
BONOBO_TYPE_FUNC_FULL (SpiHypertext,
Accessibility_Hypertext,
PARENT_TYPE,
- spi_hypertext);
+ spi_hypertext)