gnomification: argument parsing



I'm currently working on the gnome port of nethack
(http://gnomehack.normnet.org) and have come to a difficult spot.
Nethack calls a function gtk_init_nhwindows(int *argc, char **argv), which
expects it to remove all windowing system specific commandline arguments
from argc and argv before returning.  gnome_init, on the other hand,
interprets the commandline arguments, but does not remove them.  What
should I do?

Rockwalrus



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