Re: Simple CTree-gtk-program, with error
- From: Hongl Lai <hongli telekabel nl>
- To: tlan-gtk initio no
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Simple CTree-gtk-program, with error
- Date: 18 Dec 2001 15:20:25 +0100
On Tue, 2001-11-06 at 16:04, Thomas Langås wrote:
Hi!
gtk_ctree_insert_node(GTK_CTREE(ctree), NULL, NULL, fields, 2, NULL, NULL, NULL, NULL, 0, 0);
g_free(fields[0]);
g_free(fields[1]);
g_free(fields[2]);
g_free(fields[3]);
g_free(fields[4]);
}
The fields should be free'ed after an insert.
I think GtkCTree does that for you.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]