GNOME Bugzilla – Bug 480126
atk_add_global_event_listener, atk_add_key_event_listener return incorrect value in case of error
Last modified: 2008-11-07 07:49:15 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: http://linuxtesting.org/results/report?num=S0579
Created attachment 122171 [details] [review] patch