[9495] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: gtk_init wierdness
daemon@ATHENA.MIT.EDU (katre)
Thu Oct 22 09:28:02 1998
From: katre <katre@mousetrap.ml.org>
To: gtk-list@redhat.com
Date: Thu, 22 Oct 1998 09:29:30 -0400 (EDT)
In-Reply-To: <Pine.LNX.3.96LJ1.1b7.981022222432.20295D-100000@ume.pht.co.jp> from "Scott Stone" at Oct 22, 98 10:24:53 pm
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
>
> the call to gtk_init should look like:
>
> gtk_init(argc,&argv);
>
> ie, no & in front of argc, like you have below.
>
According to gtkmain.h:
void gtk_init (int *argc,
char ***argv);
Has this changed in current versions? I though the point of gtk_init was that
it changed the arguments, removing the ones it processed. It would almost
have to change argc too, then.
katre
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null