projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed macro-name typos.
[platform/core/uifw/at-spi2-atk.git]
/
cspi
/
spi_hypertext.c
diff --git
a/cspi/spi_hypertext.c
b/cspi/spi_hypertext.c
index
e9be198
..
7b0af7f
100644
(file)
--- a/
cspi/spi_hypertext.c
+++ b/
cspi/spi_hypertext.c
@@
-51,7
+51,7
@@
AccessibleHypertext_getNLinks (AccessibleHypertext *obj)
retval =
Accessibility_Hypertext_getNLinks (CSPI_OBJREF (obj), cspi_ev ());
retval =
Accessibility_Hypertext_getNLinks (CSPI_OBJREF (obj), cspi_ev ());
- cspi_return_val_if_e
x
("getNLinks", -1);
+ cspi_return_val_if_e
v
("getNLinks", -1);
return retval;
}
return retval;
}
@@
-69,11
+69,18
@@
AccessibleHyperlink *
AccessibleHypertext_getLink (AccessibleHypertext *obj,
long int linkIndex)
{
AccessibleHypertext_getLink (AccessibleHypertext *obj,
long int linkIndex)
{
+ AccessibleHyperlink *retval;
+
cspi_return_val_if_fail (obj != NULL, FALSE);
cspi_return_val_if_fail (obj != NULL, FALSE);
- ret
urn cspi_object_new
(
+ ret
val = cspi_object_add
(
Accessibility_Hypertext_getLink (CSPI_OBJREF (obj),
Accessibility_Hypertext_getLink (CSPI_OBJREF (obj),
- (CORBA_long) linkIndex, cspi_ev ()));
+ (CORBA_long) linkIndex,
+ cspi_ev ()));
+
+ cspi_return_val_if_ev ("getLink", NULL);
+
+ return retval;
}
/**
}
/**
@@
-101,7
+108,7
@@
AccessibleHypertext_getLinkIndex (AccessibleHypertext *obj,
(CORBA_long) characterOffset,
cspi_ev ());
(CORBA_long) characterOffset,
cspi_ev ());
- cspi_return_val_if_e
x
("getLinkIndex", -1);
+ cspi_return_val_if_e
v
("getLinkIndex", -1);
return retval;
}
return retval;
}