Re: Wrapping gtkimageview



Am Thu, 6 Mar 2008 21:27:46 +0100 schrieb Andreas Volz:

> Am Thu, 06 Mar 2008 12:53:46 +0100 schrieb Murray Cumming:
> 
> > On Thu, 2008-03-06 at 00:09 +0100, Andreas Volz wrote:
> > > Am Mon, 3 Mar 2008 19:43:49 +0100 schrieb Andreas Volz:
> > > 
> > > > ...
> > > 
> > > and I've also another problem while using the new gtkimageviewmm.
> > > I build a simple Makefile project that uses the pkg-config
> > > script. It compiles well and runs without problems.
> > > 
> > > But if I link gtkimageviewmm into my main application I get a
> > > strange segfault and Gtk warnings at runtime. And I don't yet
> > > include or use the new stuff.
> > > 
> > > Here is the output:
> > > 
> > > 
> > > (lt-pogo:20959): glibmm-WARNING **: failed to wrap type of
> > > 'GtkHBox'

I found the problem. My wrap_init() was in the wrong namespace. It was
direct in Gtk::wrap_init().

What is the namespace policy with namespaces in gtkmm extra libs?

- Should it be places in Gtk:: ?

- Should I add a new namespace for wrapper lib?

regards
Andreas


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