[gtk-list] Converting pointers




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]