pango_layout_set_text_static



I was thinking that a pango_layout_set_text_static where the caller would
ensure that the string would outlive the layout in the sense that after the
string was no longer valid, you could only...

1. Set a new string.
2. Use as a gobject, ie., ref, unref, connect and disconnect signals etc.

With a little cooperation from GtkLabel and friends this ought to save a
few pages per app.

Comments?

Morten



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