diff options
author | Louise Miller <lousie.miller@sun.com> | 2001-06-27 11:52:34 +0000 |
---|---|---|
committer | Louise Miller <louised@src.gnome.org> | 2001-06-27 11:52:34 +0000 |
commit | 0051c4a1f9df066eacd18210c0bf1d257d37ba03 (patch) | |
tree | 533740600b35dbd09c75914286149d9cbc6c104c /atk/atkselection.c | |
parent | 0fbca6aea104c85ea30edf4037dc5566be3b8c91 (diff) | |
download | atk-0051c4a1f9df066eacd18210c0bf1d257d37ba03.tar.gz |
*atk/atkselection.h, atk/atkselection.c changed return type to gboolean
2001-06-27 Louise Miller <lousie.miller@sun.com>
*atk/atkselection.h, atk/atkselection.c
changed return type to gboolean for
atk_selection_select_all_selection
Diffstat (limited to 'atk/atkselection.c')
-rwxr-xr-x | atk/atkselection.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/atk/atkselection.c b/atk/atkselection.c index d4dc14a..1ca3b39 100755 --- a/atk/atkselection.c +++ b/atk/atkselection.c @@ -217,17 +217,21 @@ atk_selection_remove_selection (AtkSelection *obj, * * Causes every child of the object to be selected if the object * supports multiple selections. + * + * Returns: TRUE if success, FALSE otherwise. **/ -void +gboolean atk_selection_select_all_selection (AtkSelection *obj) { AtkSelectionIface *iface; - g_return_if_fail (obj != NULL); - g_return_if_fail (ATK_IS_SELECTION (obj)); + g_return_val_if_fail (obj != NULL, FALSE); + g_return_val_if_fail (ATK_IS_SELECTION (obj), FALSE); iface = ATK_SELECTION_GET_IFACE (obj); if (iface->select_all_selection) - (iface->select_all_selection) (obj); + return (iface->select_all_selection) (obj); + else + return FALSE; } |