Re: gtk_timeout_add problem
- From: "N poleone" <napoleone1981 gmail com>
- To: paul linuxaudiosystems com
- Cc: gtk-list gnome org
- Subject: Re: gtk_timeout_add problem
- Date: Thu, 15 Dec 2005 09:24:35 +0100
2005/12/15, Paul Davis <paul linuxaudiosystems com>:
> On Wed, 2005-12-14 at 23:29 +0100, N poleone wrote:
> > Hi,
> > I can't compile using gtk_timeout_add (or g_timeout_add, the problem
> > is the same...). I'm using C++...
> > The error is:
> >
> > In member function `virtual void dialogAcquisizione::on_okbutton2_clicked()':
> > error: argument of type `gint (dialogAcquisizione::)(void*)' does not
> > match `gboolean (*)(void*)'
> >
> > The code is (all in the same class):
> >
> > #include <gtk/gtk.h>
> >
> > gint dialogAcquisizione::acquisisci(gpointer data)
>
> this should return gboolean.
>
I resolved defining the function as static...
--
Ciao da
N poleone (ICQ# 266220356; MSN Messenger: napoleone1981 yahoo it)
"Le battaglie si vincono con gli uomini che si hanno, non con quelli che
si vorrebbero" (Napoleone Bonaparte)
"Le cose che possiedi prima o poi ti possiedono..." (Fight Club)
"Le donne possono avere bambini...gli uomini computers" (Anonimo)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]