how to free a GList filled with GStrings ?
- From: DROUIN Antoine STNA 7SB K232 p5766 <drouin stna dgac fr>
- To: gtk-list redhat com
- Subject: how to free a GList filled with GStrings ?
- Date: Tue, 3 Aug 1999 15:35:06 +0200 (MET DST)
GList *list = NULL;
int beurk = TRUE;
list = g_list_append(list, g_string_new("test1"));
list = g_list_append(list, g_string_new("test2"));
g_list_foreach(list, (GFunc)g_string_free, &beurk);
I'm looking for a better way to do that (without the beurk).
Any idea ?
By the way, does anybody know if it's possible to have an app display on two
screens ? (two X servers on two different machines)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]