Re: compilation warning
- From: Olexiy Avramchenko <olexiy irtech cn ua>
- To: Utpal Shasane <shasane_utpal extenprise net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: compilation warning
- Date: Fri, 07 May 2004 10:15:28 +0300
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.
Hi,
You have to use g_signal_connect() function instead of deprecated
gtk_signal_connect().
You getting compilation warning because gtk_signal_connect() wants the
first parameter
to be of GtkObject type.
Olexiy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]