Re: **compile error**,please help
- From: zucchi zedzone mmc com au (NotZed)
- To: msg124 hotmail com (* *)
- Cc: gnome-list gnome org, gtk-list redhat com, gnome-devel-list gnome org, msg124 hotmail com
- Subject: Re: **compile error**,please help
- Date: Fri, 15 Oct 1999 16:42:00 +0930 (CST)
The destroy in the GTK_SIGNAL_FUNC() macro below needs to be a function
you write yourself which handles the destory signal.
Presumably if it is in the book it should also have the destroy function
defined.
Michael
>
>
>
>
> From: "* *" <msg124@hotmail.com>
> To: gnome-list@gnome.org, gtk-list@redhat.com, gnome-devel-list@gnome.com
> CC: msg124@hotmail.com
> Subject: **compile error**
> Date: Thu, 14 Oct 1999 20:42:19 PDT
>
> Hi,
>
> I am running a program from a book by Erc Harlo.
> .
> .gtk_signal_connect(GTK_OBJECT (window), "delete_event", GTK_SIGNAL_FUNC
> (destroy), NULL);
> .
> .
> I use the below commands for compilation:
> gcc -Wall -g example.c -o `gtk-config --cflags --libs` or
> gcc -Wall -g example.c -o `gtk-config --cflags` `gtk-config --libs`
> .
> .
>
> I ge t the errors as follows:
> example.c:In function 'main`.
> eample.c:32:`destroy' undeclared (first use in this function)
> eample.c:32:(Each undeclared identifier is reported only once
> eample.c:32:for each function it appears in)
>
>
> Please tell me why am i getting this message?.
>
> Please email me to:
> msg124@hotmail.com
>
> Jack
>
>
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
>
> --
> To unsubscribe: mail gnome-devel-list-request@gnome.org with "unsubscribe"
> as the Subject.
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]