Re: [gtk-list] *REALLY* easy question for ya..
- From: Nils Philippsen <nils wombat dialup fht-esslingen de>
- To: "Daniel J. Kressin" <kressd11 sol acs uwosh edu>
- cc: gtk-list redhat com
- Subject: Re: [gtk-list] *REALLY* easy question for ya..
- Date: Wed, 5 May 1999 08:18:23 +0200 (CEST)
On Tue, 4 May 1999, Daniel J. Kressin wrote:
> I don't like compiler warnings, and I've got one I can't seem to get rid
> of. Given the following code:
>
> -->
> gint bounceSlider(gpointer *data);
^
|
|
(sings) "One Rock'n'Roll too many ..."
>
> (and later on)
>
> trigger = gtk_timeout_add(250, bounceSlider, v_error);
> -->
>
> I'm getting a "warning: passing arg 2 of `gtk_timeout_add' from
> incompatible pointer type" message. None of the gtk_timeout_add()
a gpointer already is a (void *), no need for an additional *.
Hope this helps,
Nils
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nils Philippsen @college: nils@fht-esslingen.de
Vogelsangstrasse 115 @home: nils@wombat.dialup.fht-esslingen.de
D 70197 Stuttgart phone: +49-711-6599405
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The use of COBOL cripples the mind; its teaching should, therefore, be
regarded as a criminal offence. -- Edsger W. Dijkstra
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]