Re: freeing text
- From: Damon Chaplin <damon ximian com>
- To: "Dugas, Alan" <alan dugas analog com>
- Cc: gtk-app-devel-list gnome org, gtk-list gnome org
- Subject: Re: freeing text
- Date: Tue, 24 Apr 2001 13:36:28 -0400
"Dugas, Alan" wrote:
>
> Does anyone know if the text returned by gtk_clist_get_text() needs to be freed
> when done using it? Thanks in advance to any who reply.
You can tell quite easily from looking at the gtk_clist_get_text()
code:
*text = GTK_CELL_TEXT (clist_row->cell[column])->text;
i.e. it returns a pointer to the internal copy of text, so you
shouldn't free it.
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]