After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 480126 - atk_add_global_event_listener, atk_add_key_event_listener return incorrect value in case of error
atk_add_global_event_listener, atk_add_key_event_listener return incorrect va...
Product: atk
Classification: Platform
Component: atk
Other Linux
: High normal
: ---
Assigned To: Li Yuan
Li Yuan
Depends on:
Reported: 2007-09-25 08:14 UTC by Andrey Tsyvarev
Modified: 2008-11-07 07:49 UTC
See Also:
GNOME target: ---
GNOME version: ---

patch (785 bytes, patch)
2008-11-07 07:48 UTC, Li Yuan
committed Details | Review

Description Andrey Tsyvarev 2007-09-25 08:14:45 UTC
atk_add_global_event_listener and atk_add_key_event_listener are in fact wrappers for virtual methods of an AtkUtil object. If these methods are pure virtual and thus are not implemented in AtkUtil, which is now the case, both wrapper functions return (unsigned int)(-1).

The documentation requires that these functions return 0 if the listener cannot be added. 

The detailed bug description can be found at:
Comment 1 Li Yuan 2008-11-07 07:48:39 UTC
Created attachment 122171 [details] [review]