Bug 443 - Documentation gives impossible advice
Summary: Documentation gives impossible advice
Status: RESOLVED FIXED
Alias: None
Product: Gtk#
Classification: Mono
Component: gtk-sharp ()
Version: unspecified
Hardware: All All
: --- trivial
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-08-25 15:31 UTC by Florian Haag
Modified: 2011-10-12 19:06 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Florian Haag 2011-08-25 15:31:27 UTC
The documentation for some methods, such as http://docs.go-mono.com/monodoc.ashx?link=M%3aPango.Layout.GetExtents(Pango.Rectangle%40%2cPango.Rectangle%40) , gives advice which may have been valid for the original C-based Gtk+ API, but which is not for Gtk# in Mono. That method linked above has two out parameters, and the documentation says "or null to indicate that the result is not needed." Passing null to an out parameter is not possible in the CLI.
Comment 1 Robert Jordan 2011-09-13 09:50:49 UTC
-> gtk#
Comment 2 Mike Kestner 2011-10-12 19:06:46 UTC
I updated the specific documentation you mentioned in master.