??? passing `gint (*)()' as argument 1 of `gtk_idle_add(gint (*)(void *), void *)'



I want to add function with this interface to argument
list of gtk_idle_add:

     gint drawPlots();

But when I do this:

     gtk_idle_add(drawPlots, NULL);

I get this at compile time:

     passing `gint (*)()' as argument 1 of `gtk_idle_add(gint (*)(void *), void *)'

Any ideas?

Chris
-- 
=======================================================
| Dr. Christian Seberino  || (619) 553-7940  (office) |
| SPAWARSYSCEN 2363       || (619) 553-2836  (fax)    |
| 53560 HULL ST           ||                          |
| SAN DIEGO CA 92152-5001 || seberino spawar navy mil |
=======================================================



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]