Le dim 09/05/2004 à 10:55, Jochen Voss a écrit : > Hello, > > On Sun, May 09, 2004 at 08:42:01AM +0200, Jean Bréfort wrote: > > You should remove the "GNOME_PARAM_POPT_CONTEXT, &pctx," line and add > > the following line just after the call to gnome_program_init. > > > > g_object_get(G_OBJECT(my_app), GNOME_PARAM_POPT_CONTEXT, &pctx, NULL); > > Thank you very much, this works now. > Do you know whether I have to call > > poptFreeContext(pctx); > > on the resulting pointer after use? No, it will be called in gnome_program_finalize at the end of your program.
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=