* AT-SPI - Assistive Technology Service Provider Interface
* (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
*
- * Copyright 2001 Sun Microsystems Inc.
+ * Copyright 2001, 2002 Sun Microsystems Inc.,
+ * Copyright 2001, 2002 Ximian, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
child = Accessibility_Selection_getSelectedChild (
CSPI_OBJREF (obj),
- (CORBA_long) selectedChildIndex, cspi_ev ());
+ selectedChildIndex, cspi_ev ());
- return (Accessible *) cspi_object_add (child);
+ return cspi_object_add (child);
}
/**
retval =
Accessibility_Selection_selectChild (CSPI_OBJREF (obj),
- (CORBA_long) childIndex, cspi_ev ());
+ childIndex, cspi_ev ());
cspi_return_val_if_ev ("selectChild", FALSE);
cspi_return_val_if_fail (obj != NULL, FALSE);
retval = Accessibility_Selection_deselectSelectedChild (
- CSPI_OBJREF (obj), (CORBA_long) selectedChildIndex, cspi_ev ());
+ CSPI_OBJREF (obj), selectedChildIndex, cspi_ev ());
cspi_return_val_if_ev ("deselectSelectedChild", FALSE);
retval = Accessibility_Selection_isChildSelected (
CSPI_OBJREF (obj),
- (CORBA_long) childIndex, cspi_ev ());
+ childIndex, cspi_ev ());
cspi_return_val_if_ev ("isChildSelected", FALSE);
- return (SPIBoolean) retval;
+ return retval;
}
/**