GList and segmentation fault
- From: Mattias Persson <matper-8 student luth se>
- To: gtk-list gnome org
- Subject: GList and segmentation fault
- Date: Thu, 19 Jul 2001 15:01:17 +0200 (MEST)
Hi!
Can anyone tell me what is wrong with this:
I create a GList and add something in it:
GList * files = NULL;
//nextfile is a string
files = g_list_append(files, nextfile);
later on when a GtkList is created I try to add the
GList to it:
gtk_list_append_items(list1, files);
but that gives me a segmentation fault.
Can anyone from this information tell me what is going
wrong?
Thx
/Mattias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]