Re: Newbey Question
- From: Tristan Van Berkom <tristan van berkom gmail com>
- To: Jamiil Abdullah-Alkadir <jamiil_abdullah_alkadir hotmail com>
- Cc: gtk-app-devel-list gnome org, gtk-list gnome org
- 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]