pango_layout_set_text doesn't drop old markup attributes



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]