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

Re: GTK problems - not compiling



On Tue, Apr 20, 1999 at 07:06:47PM +0100, M.C. Vernon wrote:
> Hi all,
> 
> 	I grabbed this from the gtk tutorial page, but it won't compile:
> it complains that gtk_signal_connect is undefined (I think this is a
> linker problem). I'm compiling with
>   gtk_signal_connect (GTK_OBJECT (window), "delete_event", GTK_SIGNAL_FUNC (delete_event), NULL);
> 
>   gtk_signal_connnect (GTK_OBJECT (window), "destroy", GTK_SIGNAL_FUNC (destroy), NULL);
> 
>   gtk_container_set_border_width (GTK_CONTAINER (window), 10);

check out the spelling of "connect" the second time around.

SRH
-- 
Steve Haslam      http://www.arise.demon.co.uk/      steve@arise.demon.co.uk
Debian GNU/Linux            A4 5D 30 2C EE CB 41 24  A7 9E DF E3 74 E8 2E 5B
araqnid@debian.org        8410 63C6 5821 1A2E BB26  E98F 8F16 B533 AF99 D43A

Attachment: pgps8Cp6x8sAI.pgp
Description: PGP signature


Reply to: