Details

[Home]

Issue of the Implementation # S0579

Brief

atk_add_global_event_listener, atk_add_key_event_listener return incorrect value in case of error

Detailed Description

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 standard requires that these functions return 0 if the listener cannot be added.

Problem location(s) in the standard

ATK 1.9.0 Reference Manual, AtkUtil

Component

gtk-atk 1.9.0 or later

Accepted

Gnome Bugzilla 480126

Status

Fixed in ATK 1.25.2 for GNOME 2.25.2.

[Home]