Re: clist seg fault...
- From: Rok Roskar <rroskar artsci wustl edu>
- To: Havoc Pennington <hp redhat com>
- Cc: Mike <maddoc en com>, <gtk-app-devel-list gnome org>
- Subject: Re: clist seg fault...
- Date: Tue, 15 Jan 2002 21:13:34 -0600 (CST)
but the array is already only length 1... and could you explain why it
needs to be NULL-terminated? thanks,
Rok
On 15 Jan 2002, Havoc Pennington wrote:
Mike <maddoc en com> writes:
so you might try this:
gchar *string[1];
GtkWidget *info_list;
string[0] = g_strdup(".............");
gtk_clist_append( (GtkClist *)info_list, string);
You need to NULL-terminate the array so string[2] and string[1] = NULL
in addition to the above.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]