Re: GtkLabel question

On Wed, May 21, 2003 at 01:10:56AM +0200, Jochen Voss wrote:
> Hello,
> On Mon, May 19, 2003 at 10:50:11AM -0400, Havoc Pennington wrote:
> > GTK never "adopts" a string you pass in; it makes a copy. You can 
> > free your string as soon as you've passed it in.
> Some time ago I looked for this information in the GTK+ API
> reference and did not find it.  Is this documented
> somewhere?  I think it should be.

I don't know if it's documented. It should be pretty clear, though; 
any other rule would just be insanity, and as Murray says it's implied
by the "const"

If you are surprised by this sort of thing, what you probably want is
docs on C, not docs on GTK.


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