Re: Newbey Question



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




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