Re: [gtkmm] problems with pango



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.

I did look into it, and found more broken API:

2002-10-23  Daniel Elstner  <daniel elstner gmx net>

	* pango/src/attributes.hg (Attribute::get_string): Use _MEMBER_GET()
	instead of _MEMBER_GET_PTR(), and return a Glib::ustring.
	(AttributeTraits): New traits type for use with container handles.

	* pango/src/attriter.{ccg,hg} (AttrIter::get_extra_attrs): Return
	Glib::SListhandle<Attribute,AttributeTraits>.
	* pango/src/item.{ccg,hg} (Analysis::get_extra_attrs): ditto.

	* pango/src/item.{ccg,hg} (Item::get_analysis): Implement manually
	rather than using _MEMBER_GET_PTR().  This isn't a pointer and
	returning const objects by value is pointless most of the time.
	(ItemTraits): New traits type for use with container handles.

	* pango/src/context.{ccg,hg} (Context::itemize): Return
	Glib::ListHandle<Item,ItemTraits>.

	* pango/src/layoutrun.hg (LayoutRun::get_item): Don't use
	_MEMBER_GET_PTR().  See above.
	(LayoutRun::get_glyphs): ditto.

Pheww.  Only hours before the first inofficial ABI stable release
candidate...

Cheers,
--Daniel





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