Re: Freeze Break request for gtkmm (API)

Le mercredi 29 août 2007 à 22:39 -0600, Elijah Newren a écrit :
> On 8/29/07, Jonathon Jongsma <jjongsma gnome org> wrote:
> > I'd like to request a API freeze break for gtkmm to add some new API
> > (and deprecate the old versions).  The issue is that some of the gdkmm
> > cairo helper functions take a reference to a RefPtr instead of a const
> > reference.  This makes it impossible to call these functions from
> > within other functions that accept const references (see the bug
> > report [1] for more information).  I have attached a patch to the bug
> > that adds overloaded functions that accept a const reference and
> > deprecated the old versions.  In addition I've fixed a TODO in the
> > source code, so the new versions of rectangle() and region() that take
> > a const reference are now called add_rectangle_to_path() and
> > add_region_to_path().  Existing code will continue to work without
> > modifications since no API is being removed, only deprecated.  Murray
> > has expressed his approval for the patch in the bug report, so I just
> > need release-team approval before applying it.
> Just some const-correctness fixes?  Sounds safe to me.  1 of 2 approvals.

Approval 2 of 2, since old code will still work

Frederic Crozat <fcrozat mandriva com>

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