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
Added boolean return types for methods in Component, Selection,
[platform/core/uifw/at-spi2-atk.git]
/
cspi
/
spi_component.c
diff --git
a/cspi/spi_component.c
b/cspi/spi_component.c
index
8e746e4
..
cf43b7d
100644
(file)
--- a/
cspi/spi_component.c
+++ b/
cspi/spi_component.c
@@
-273,8
+273,22
@@
AccessibleComponent_getMDIZOrder (AccessibleComponent *obj)
*
* Attempt to set the keyboard input focus to the specified
* #AccessibleComponent.
*
* Attempt to set the keyboard input focus to the specified
* #AccessibleComponent.
+ *
+ * Returns: #TRUE if successful, #FALSE otherwise.
+ *
**/
**/
-void
+SPIBoolean
AccessibleComponent_grabFocus (AccessibleComponent *obj)
{
AccessibleComponent_grabFocus (AccessibleComponent *obj)
{
+ short retval;
+
+ cspi_return_val_if_fail (obj != NULL, FALSE);
+
+ retval = Accessibility_Component_grabFocus (CSPI_OBJREF (obj),
+ cspi_ev ());
+
+ cspi_return_val_if_ev ("grabFocus", FALSE);
+
+ return retval;
}
}
+