Ethereal-dev: Re: [Ethereal-dev] Compiler warning in menu.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Olivier Abad <oabad@xxxxxxx>
Date: Tue, 16 Dec 2003 19:45:10 +0100
On Tue, Dec 16, 2003 at 07:19:18AM +0100, Ulf Lamping wrote:
> Biot Olivier wrote:
> 
> >Hi list,
> >
> >CVS snapshot complains at line 756 about passing arg 3 of
> >gtk_signal_connect_full from incompatible pointer type. I'm compiling with
> >Gtk2.
> >
> >Regards,
> >
> >Olivier
> >
> >_______________________________________________
> >Ethereal-dev mailing list
> >Ethereal-dev@xxxxxxxxxxxx
> >http://www.ethereal.com/mailman/listinfo/ethereal-dev
> >
> > 
> >
> You mean "gtk_signal_connect_object", I think.
> 
> I will have a look at this, when I will try to compile with GTK2, maybe 
> later today.

I just made a fix for this. Gtk compatibility macros from
compat_macros.h should be used for some gtk+ v1.2 functions which are
deprecated in gtk+ v2.

gtk_signal_connectxxx is one of those functions.

Olivier
-- 
Ambiguity:
	Telling the truth when you don't mean to.