Re: clist seg fault...



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]