I did as you suggested, however, I now get an error saying that the '-lXext' library was not found. I ran 'find /usr -name *Xext*' and I did find '/usr/X11R6/bin/cygXext-6.dll'. Is there anything I can do to solve this problem?
TIA
From: Marcel Ruff <mr@xxxxxxxxxxxxxxx>
To: Jamiil Abdullah-Alkadir <jamiil_abdullah_alkadir@xxxxxxxxxxx>, gtk-app-devel-list@xxxxxxxxx
Subject: Re: Newbey Question
Date: Fri, 08 Apr 2005 15:16:52 +0200
Jamiil Abdullah-Alkadir wrote:Thanks Tristan for you prompt response.
I did try your suggestion, but to no avail. After making the changes to my .cpp file, I now get a messages saying: "... error: 'GTK_CALLBACK' undeclared ..."
Try GTK_SIGNAL_FUNC(Quit)
regards Marcel
Perhaps this macro was not yet included in the 1.2.10 version, but in a later version, do you know?
I'll keep waiting, hopefully there'll be a GTK+ developer that will read this message and clear this for me, and the millions of GTK+ programmers who bought the "Learn GTK+ Programming in 21...." from SAMS.
Again, thank you, Tristan.
From: Tristan Van Berkom <tristan.van.berkom@xxxxxxxxx> To: Jamiil Abdullah-Alkadir <jamiil_abdullah_alkadir@xxxxxxxxxxx> CC: gtk-app-devel-list@xxxxxxxxx, gtk-list@xxxxxxxxx Subject: Re: Newbey Question Date: Thu, 07 Apr 2005 18:50:53 -0400
Jamiil Abdullah-Alkadir wrote: [...]
//Register CallBacks <<== **Here is the problem 8) gtk_signal_connect(GTK_OBJECT(btnExit), "clicked", Quit, NULL);
gtk_signal_connect uses functions with any signatures, they must all be cast to `void (*) ()' though first.
try: gtk_signal_connect(GTK_OBJECT(btnExit), "clicked", GTK_CALLBACK (Quit), NULL);
Cheers, -Tristan
_________________________________________________________________
Take advantage of powerful junk e-mail filters built on patented Microsoft® SmartScreen Technology. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*.
_______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
-- http://www.xmlBlaster.org
_________________________________________________________________
Take advantage of powerful junk e-mail filters built on patented Microsoft® SmartScreen Technology. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*.
_______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list