??? passing `gint (*)()' as argument 1 of `gtk_idle_add(gint (*)(void *), void *)'
- From: Christian Seberino <seberino spawar navy mil>
- To: gtk-list gnome org
- Subject: ??? passing `gint (*)()' as argument 1 of `gtk_idle_add(gint (*)(void *), void *)'
- Date: Thu, 21 Feb 2002 02:28:53 -0800
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]