[Xfc-dev] Tutorial/ch5 and ch6 - found four errors in the website

Jeff Franks jcfranks at tpg.com.au
Wed Aug 3 04:48:21 CEST 2005


Sylvain Vedrenne wrote:

>Hi,
>
>Below some errors found in the source files visible on the website:
>   http://xfc.xfce.org/docs/tutorial/html/...
>chapters 5 and 6.
>
>After these errors are cleared, the compilation succeeds.
>=> When someone has time, please correct it in the website. Thanks.
>
>Best regards,
>Sylvain.
>
>===== WEBSITE (Tutorial/ch5 and ch6)
>=== Makefile
>Chapter 06:
>(BTW also for Chapter 07):
>[Makefile]
>     Add: `pkg-config gconf-2.0 --cflags --libs`
>
>=== name of Statusbar
>The code doesn't compile because the statusbar is declared/used with two 
>different names: 'statusbar' and 'statusbar_'. Suggestion:
>[xfcapp.hh]
>[xfcapp.cc]
>~line 13 in xfcapp.hh:
>~several lines in xfcapp.cc:
>     'Statusbar *statusbar;'  to replace by  'Statusbar *statusbar;_'
>
>=== Attempts to use a missing 'get_progress_bar' method
>[xfcapp.cc]
>To replace by 'progress_bar'.
>
>=== 'show_progess' => 'show_progress'
>
>[statusbar.cc]
>~line 5:
>   Statusbar::Statusbar(bool show_progess)
>     to replace by:
>   Statusbar::Statusbar(bool show_progress)
>~line 21: 'show_progess' => 'show_progress'
>~line 33:     // If actvivity ...  => // If activity ...
>
>[statusbar.hh]
>~line 16:  Statusbar(bool show_progess); => ..(.. 'show_progress');
>
>  
>
Thanks. I'll make the fixes.

Jeff



More information about the Xfc-dev mailing list