Re: Removal of warnings from layoutline.h
- From: Hubert Figuiere <hub figuiere net>
- To: Murray Cumming <murrayc murrayc com>
- Cc: gtkmm-list gnome org
- Subject: Re: Removal of warnings from layoutline.h
- Date: Wed, 09 Jan 2008 12:13:30 -0500
On Wed, 2008-01-09 at 18:02 +0100, Murray Cumming wrote:
> The comment in the code says:
>
> // forward declaration needed by LayoutLineTraits
> Glib::RefPtr<Pango::LayoutLine> wrap(PangoLayoutLine* object, bool
> take_copy /* = false */);
>
> It's a little difficult to remove the second declaration, because it's
> generated by gmmproc, but I guess we can find a way if it's really
> necessary.
Then it is a bug in gmmproc. Because this is clearly redundant. gmmproc
should just put the declaration of wrap around line 200.
The declaration of wrap() is already forward.
Hub
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]