Re: [gtkmm] problems with pango
- From: Daniel Elstner <daniel elstner gmx net>
- To: Martin Schulze <MHL Schulze t-online de>
- Cc: Morus Walter <morus walter web de>, gtkmm-list gnome org
- Subject: Re: [gtkmm] problems with pango
- Date: 23 Oct 2002 21:48:53 +0200
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]