Re: Warnings in custom container example of GTKmm Book



On Wed, 2008-02-20 at 18:22 +0100, Murray Cumming wrote:
> On Mon, 2008-02-18 at 21:21 -0600, Jonathon Jongsma wrote:
> > I looked into this a little bit and it looks like several vfuncs for
> > GtkContainer are not wrapped in gtkmm.
> >   Specifically, the following
> > vfuncs are not wrapped: add(), remove(), check_resize(),
> > set_focus_child().
> 
> These are signals, not vfuncs. We do wrap them.
> 
> So I don't think that's the problem.
> 
> >   And obviously, since gtkmm doesn't wrap the remove
> > function, the custom container does not implement it, and therefore
> > prints out warnings when the default dummy implementations are called.
> > 
> > murray, I don't know much about ABI compatibility and gmmproc -- are we
> > able to wrap these vfuncs?
> 
> If we really did have to add vfuncs (or signals with default signal
> handlers) then that would break ABI because they are virtual methods.
> 

I've filed a bug about this so we don't forget about it:
http://bugzilla.gnome.org/show_bug.cgi?id=518002
-- 
Jonner



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