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



On Thu, 2002-02-21 at 11:28, Christian Seberino wrote:
>      gint drawPlots();
[...]
>      gtk_idle_add(drawPlots, NULL);

Make that "gint drawPlots(gpointer data)", where data is the pointer you
give as second argument in the gtk_idle_add() function (in your case:
NULL).

Ronald

-- 
-   .-.
-   /V\    | Ronald Bultje <rbultje ronald bitfreak net>
-  // \\   | Running: Linux 2.4.17-XFS and OpenBSD 3.0
- /(   )\  | http://ronald.bitfreak.net/
-  ^^-^^




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