Re: compilation warning
- From: "Nils O." Selåsdal <noselasd frisurf no>
- To: gtk-app-devel-list gnome org
- Subject: Re: compilation warning
- Date: Fri, 07 May 2004 09:30:24 +0200
On Fri, 2004-05-07 at 07:07, Utpal Shasane wrote:
Hello,
I am calling destroy event of window by using
gtk_signal_connect(G_OBJECT(window), "delete_event",G_CALLBACK
(delete_event), NULL);
I works fine, but i am not getting why there is compilation warning as
warning: passing arg 1 of `gtk_signal_connect_full' from incompatible
pointer type
can somebody help me to remove this warning.
gtk_signal_connect works on GTK_OBJECT's. You should prefer
g_signal_connect, so
g_signal_connect(G_OBJECT(window), "delete_event",G_CALLBACK
(delete_event), NULL);
should be used.
--
Nils O. Selåsdal <noselasd frisurf no>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]