Re: clist seg fault...
- From: Havoc Pennington <hp redhat com>
- To: Mike <maddoc en com>
- Cc: Rok Roskar <rroskar artsci wustl edu>, <gtk-app-devel-list gnome org>
- Subject: Re: clist seg fault...
- Date: 15 Jan 2002 20:50:52 -0500
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]