Re: Bad example in documentation
- From: Murray Cumming <murrayc murrayc com>
- To: jody <jody xha gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Bad example in documentation
- Date: Tue, 21 Oct 2008 18:51:36 +0200
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]