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 591432 - There is incomplete information on the returning value of gdk_xid_table_lookup
There is incomplete information on the returning value of gdk_xid_table_lookup
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Documentation
2.17.x
Other All
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2009-08-11 11:00 UTC by Eduard Bagrov
Modified: 2009-08-18 12:38 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Eduard Bagrov 2009-08-11 11:00:47 UTC
Documentation 
Section: X Window System Interaction — X backend-specific functions
function name: gdk_xid_table_lookup
Returns : the associated Gdk object, which may be a GdkPixmap, a GdkWindow or a GdkFont. 

Correct version:
Returns : the associated Gdk object, which may be a GdkPixmap, a GdkWindow, a GdkFont or NULL if X id is not found.  

Other information:
gdk_xid_table_lookup() calls gdk_xid_table_lookup_for_display(), which in turn calls g_hash_table_lookup().
The additional information about NULL value is mentioned there.
Comment 1 Eduard Bagrov 2009-08-18 05:28:04 UTC
I would like to know where can I see the fixed version of documentation of gdk_xid_table_lookup()?
Comment 2 Matthias Clasen 2009-08-18 12:38:45 UTC
In the source code. And on library.gnome.org when the docs there get updated for the latest release.