Re: Bad example in documentation



On Tue, 2008-10-21 at 13:01 +0200, jody wrote:
> Hi
> 
> I think the example shown  in
> http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/chapter-dialogs.html#sec-dialogs-messagedialog
> is not correct. it uses
>   #include <gtkmm/dialogs>
> 
> which doesn't compile.
> It shoud be
>   #include <gtkmm/messagedialog.h>

It does compile as part of the gtkmm-documentation module.

In this case, it compiles because there is a "#include <gtkmm.h>" in
examplewindow.h.

But I will add the suggested include to make things clearer. 

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]