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 97494 - Book chapter 8 errors
Book chapter 8 errors
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: reference documentation
2.0
Other other
: Normal minor
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2002-11-02 17:27 UTC by Olle de Zwart
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tutorial chapter 8 fix (940 bytes, patch)
2002-11-02 18:07 UTC, Olle de Zwart
none Details | Review

Description Olle de Zwart 2002-11-02 17:27:27 UTC
Chapter 8 of "the" book contains two errors.

http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08.html#id2834309

  ModelColumns()
    { add(m_col_text); add(m_col_number) }

should be 

  ModelColumns()
    { add(m_col_text); add(m_col_number); }

and in Model Columns 

the object is called refListStore

then in adding rows it is called m_refListStore which is seems what it
should be.
Comment 1 Murray Cumming 2002-11-02 17:44:56 UTC
Seems like you could provide a patch.
Comment 2 Olle de Zwart 2002-11-02 18:07:43 UTC
Created attachment 11990 [details] [review]
tutorial chapter 8 fix
Comment 3 Murray Cumming 2002-11-03 15:07:04 UTC
Thanks. Please patch the ChangeLog in future.