Re: [gtkmm] problems with pango



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!

Cheers,

  Martin



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