Re: interface question
- From: Murray Cumming <murrayc murrayc com>
- To: Johannes Schmid <johannes schmid gmx de>
- Cc: gtkmm-list gnome org
- Subject: Re: interface question
- Date: Sat, 23 Sep 2006 12:18:39 +0200
On Sat, 2006-09-23 at 12:14 +0200, Johannes Schmid wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> > _MEMBER_GET_GOBJECT(shell, shell, Shell, AnjutaShell*)
> > or similar should do this for you.
> Thanks, that fits better!
> > Maybe you are not calling your hand-coded init() function, which calls
> > your generated wrap_init() method, which tells the wrap() system about
> > the C++ wrapper types that exist.
> Hmm, init() is called before anything else is done and the hand-coded
> init of course calls wrap_init().
And does that definitely register the AnjutaApp and AnjutaShell types?
> But still I get the message
> glibmm-WARNING **: failed to wrap type of 'AnjutaApp'
> when trying to access get_shell(). AnjutaApp does implement AnjutaShell
> so Glib::wrap(AnjutaApp) should normally work.
I'm afraid you might have to investigate what's happening in the
murrayc murrayc com
] [Thread Prev