Use the standard GTK type casting macros.  If you know the widget is a
ctree, GTK_CTREE(widget) will give a (GtkCTree *) pointer.  It would be a
good idea to go through some of the gtk tutorial, as you still need to
know a bit about gtk to use glade.

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/


On Sun, 7 Nov 1999, Anthony Tekatch wrote:

> 
> I'm trying to insert items into a CTREE using gtk_ctree_insert_node which
> requires a GtkCTree type pointer but lookup_widget returns a GTK_WIDGET pointer.
> 
> I keep getting the following error during make:
> 
> main.c:73: warning: passing arg 1 of `gtk_ctree_insert_node' from
> incompatible pointer type
> 
> 
> What can I do?
> 
> TIA
> --
> Anthony
> 
> +---------------------------------------------------------------------+
> To unsubscribe from this list, send a message to [EMAIL PROTECTED]
> with the line "unsubscribe glade-devel" in the body of the message.
> 


+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.

Reply via email to