Details

[Home]

Issue of the Standard # D0003

Brief

Mistype in the specification of the function "g_hook_list_invoke_check"

Detailed Description

Documentation states that "Any function which returns TRUE is removed from the GHookList.", although the implementation of the interface g_hook_list_invoke_check works in exactly opposite way, "GHook" is removed when function returns "FALSE".

Problem location(s) in the standard

Linux Standard Base Desktop Specification 3.1, Chapter 12. Libraries, 12.2 Interfaces for libglib-2.0; http://www.gtk.org/api/2.6/glib/glib-Hook-Functions.html#g-hook-list-invoke-check

Possible solutions

The sentence: "Any function which returns TRUE is removed from the GHookList." should be changed to: "Any function which returns FALSE is removed from the GHookList."

Accepted

Gnome Bugzilla 491965

Status

Fixed in gtk-glib - 2.16

[Home]