Re: Newbey Question

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

 



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

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux