pango_layout_set_text doesn't drop old markup attributes
- From: Theo Veenker <Theo Veenker let uu nl>
- To: gtk-i18n-list gnome org
- Subject: pango_layout_set_text doesn't drop old markup attributes
- Date: Fri, 15 Feb 2008 10:31:17 +0100
Hi,
When I call pango_layout_set_markup(layout, "<b>foo</b>...") on a
layout object and then later call pango_layout_set_text() on the
same layout object the text changes, but the markup is still there.
I suppose this is unintentional. Can I kill the markup without
recreating the layout object?
TIA.
Theo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]