Bug 9695 - discrepancy between man page and code about XRegisterIMInstantiateCallback
Summary: discrepancy between man page and code about XRegisterIMInstantiateCallback
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xlib (show other bugs)
Version: unspecified
Hardware: All All
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-17 22:18 UTC by Julien Cristau
Modified: 2007-04-20 09:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Julien Cristau 2007-01-17 22:18:02 UTC
See Debian bug#232133 (http://bugs.debian.org/232133):
The manpage for XRegisterIMInstantiateCallback (and
XUnregisterIMInstantiateCallback) shows the fifth argument as type
"XIMProc".

The Xlib.h header, however, uses a XIDProc as fifth argument and the
xfree code indeed passes a display as first argument (i.e. uses it like a
XIDProc).

Further, the sixth argument is documented to be a XPointer * (and actually
takes a XPointer * on other X11 imps), whereas xfree86 wants a XPointer
there.

Either xfree86 has wrong code, or wrong manpages.
Comment 1 Daniel Stone 2007-02-27 01:35:49 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 2 Tilman Sauerbeck 2007-04-20 09:35:32 UTC
Fixed in e972b0bb255af4f3258217852542faf5afa60b28.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.