Re: [gtk-list] Re: gtk_init wierdness



> 
> 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]