- Accessibility_Accessible child =
- Accessibility_Selection_getSelectedChild (CSPI_OBJREF (obj),
- (CORBA_long) selectedChildIndex, cspi_ev ());
- cspi_warn_ev (cspi_ev (), "getSelectedChild");
+ Accessibility_Accessible child;
+
+ cspi_return_val_if_fail (obj != NULL, NULL);
+
+ child = Accessibility_Selection_getSelectedChild (
+ CSPI_OBJREF (obj),
+ (CORBA_long) selectedChildIndex, cspi_ev ());