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 790830 - Mismatch between number of interface methods in text and example code
Mismatch between number of interface methods in text and example code
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: docs
unspecified
Other Linux
: Normal minor
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2017-11-25 21:01 UTC by Ivar Trygve Jarlsby
Modified: 2017-11-26 21:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.00 KB, patch)
2017-11-25 21:01 UTC, Ivar Trygve Jarlsby
none Details | Review
docs: Correct inconsistency in GObject tutorial (1023 bytes, patch)
2017-11-25 21:05 UTC, Ivar Trygve Jarlsby
committed Details | Review

Description Ivar Trygve Jarlsby 2017-11-25 21:01:41 UTC
Created attachment 364395 [details] [review]
patch

In the chapter "How to define and implement interfaces", I find example code for an interface with three methods. The preceding text says "This interface defines two methods".This is appears to be because the example code was changed without updating the surrounding text.
Comment 1 Ivar Trygve Jarlsby 2017-11-25 21:05:31 UTC
Created attachment 364396 [details] [review]
docs: Correct inconsistency in GObject tutorial
Comment 2 Emmanuele Bassi (:ebassi) 2017-11-26 19:33:17 UTC
Review of attachment 364396 [details] [review]:

Looks good, thanks!
Comment 3 Philip Withnall 2017-11-26 21:22:01 UTC
Attachment 364396 [details] pushed as f5dba7d - docs: Correct inconsistency in GObject tutorial