g_list_append - cannot convert error
- From: miette <linux_uber_alis yahoo com>
- To: gtk-app-devel-list gnome org
- Subject: g_list_append - cannot convert error
- Date: Wed, 17 Oct 2001 12:23:02 -0700 (PDT)
I'm trying to create a GList, so I can add items to a
combo box. I use the following code:
GList *glist = NULL;
glist = g_list_append (glist, "String");
and I get this error:
cannot convert `const char *' to `void *' for
argument `2' to `f_list_append (GList *, void *)'
Am I missing something? Using GTK 1.2.10.
Thanks
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]