[gtk-list] Converting pointers
- From: Anthony Tekatch <tekatch idirect com>
- To: gtk-list redhat com
- Subject: [gtk-list] Converting pointers
- Date: Thu, 30 Dec 1999 11:44:00 -0500
I'm not sure how to convert an xmlNodePtr to the gchar pointer required by arg
4 of gtk_ctree_insert_node.
I get the following error:
warning: passing arg 4 of `gtk_ctree_insert_node' from incompatible pointer type
Here is the part my code that causes the problem:
/*****************************************************************/
xmlNodePtr group;
/*xml parser*/
doc = xmlParseFile(filename);
group = doc->root->childs;
grouptree = gtk_ctree_insert_node( GTK_CTREE(treepointer[0]),
NULL,NULL,
&group->name,
5,
NULL,NULL,
NULL,NULL,
FALSE,FALSE);
/*****************************************************************/
Thanks in advance,
Anthony Tekatch
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]