diff options
author | Padraig O'Briain <padraigo@src.gnome.org> | 2002-01-07 11:49:15 +0000 |
---|---|---|
committer | Padraig O'Briain <padraigo@src.gnome.org> | 2002-01-07 11:49:15 +0000 |
commit | 06917949b0fba13120dc411e2ed1e26f8e9d311a (patch) | |
tree | 1af5b0a6036ecb0eb7d58dd14f11a58cf713598f | |
parent | 185b9752bb6705fc317f3fd20c85d32c594fa515 (diff) | |
download | atk-06917949b0fba13120dc411e2ed1e26f8e9d311a.tar.gz |
1 Add comments to clarify behavior if handler has already been added
* atk/atkcomponent.c (atk_component_add_focus_handler):1
Add comments to clarify behavior if handler has already been added
* docs/tmpl/atktext.sgml:
Update for change of caret_changed to text_caret_moved
-rw-r--r-- | ChangeLog | 8 | ||||
-rwxr-xr-x | atk/atkcomponent.c | 6 | ||||
-rw-r--r-- | docs/tmpl/atktext.sgml | 2 |
3 files changed, 13 insertions, 3 deletions
@@ -1,3 +1,11 @@ +2002-01-07 Padraig O'Briain <padraig.obriain@sun.com> + + * atk/atkcomponent.c (atk_component_add_focus_handler):1 + Add comments to clarify behavior if handler has already been added + + * docs/tmpl/atktext.sgml: + Update for change of caret_changed to text_caret_moved + 2002-01-05 Hans Breuer <hans@breuer.org> * atk/makefile.msc : generate atk-enum-types.[hc] diff --git a/atk/atkcomponent.c b/atk/atkcomponent.c index 0ec321d..f47dc8e 100755 --- a/atk/atkcomponent.c +++ b/atk/atkcomponent.c @@ -65,9 +65,11 @@ atk_component_get_type () * @handler: The #AtkFocusHandler to be attached to @component * * Add the specified handler to the set of functions to be called - * when this object receives focus events (in or out). + * when this object receives focus events (in or out). If the handler is + * already added it is not added again * - * Returns: + * Returns: a handler id which can be used in atk_component_remove_focus_handler + * or zero if the handler was already added. **/ guint atk_component_add_focus_handler (AtkComponent *component, diff --git a/docs/tmpl/atktext.sgml b/docs/tmpl/atktext.sgml index 89fdfd7..2d14994 100644 --- a/docs/tmpl/atktext.sgml +++ b/docs/tmpl/atktext.sgml @@ -44,7 +44,7 @@ AtkText @set_selection: @set_caret_offset: @text_changed: -@caret_changed: +@text_caret_moved: @text_selection_changed: <!-- ##### ENUM AtkTextBoundary ##### --> |