Re: [gtkmm] problems with pango



Martin Schulze writes:
> Am 2002.10.23 21:48 schrieb(en) Daniel Elstner:
> > Am Mit, 2002-10-23 um 20.23 schrieb Daniel Elstner:
> > >
> > > I daresay this is an API bug rather than a documentation bug.  It should
> > > return Glib::ListHandle<Pango::Item>.  I'll look into it.
> 
> ARGH! You are right! Glib::ListHandle<Pango::Item*> can't work
> because Pango::Item (PangoItem) doesn't inherit Glib::Object
> (GObject) and the template specialization TypeTraits<T*> that
> is used calls g_object_unref(). I really should have looked at
> this closer. Thanks a thousand times for fixing my API misdesign!
> 
Ok. So I understand this doesn't work at all at the moment. Right?

No problem, I'll try to embed a C solution into my c++ program next.

Thanks to you and Daniel and Murray for your answers and your work
on gtkmm.

greetings
	Morus



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