On 02-Nov-2000 GONZALOMZ wrote: 
>  How can i pass my own struct to a callback function ?
>   How can i convert my own struct to a gpointer ?

Hi,

you should pass the address of your struct to the callback
and not the struct itself:

                (gpointer) &struct_address

>  
>   Thanks.
>   Gonzalo Monrtesdeoca Zamora
>  
>

Regards

Joachim Backes

--

Joachim Backes <[EMAIL PROTECTED]>       | Univ. of Kaiserslautern
Computer Center, Supercomputing Division     | Phone: +49-631-205-2438 
D-67653 Kaiserslautern, PO Box 3049, Germany | Fax:   +49-631-205-3056 
---------------------------------------------+------------------------
WWW: http://hlrwm.rhrk.uni-kl.de/home/staff/backes.html  


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to