Re: init clarity needed



On Monday, July 16, 2001, at 05:25  PM, Martin Baulig wrote:

Look at libgnomeui/demos or libgnomeui/test-gnome:

You can use either

a)  gnome_program_init ("mdi_demo", "2.0", &libgnomeui_module_info,
                        argc, argv, NULL);

or

b)  gnome_program_init ("mdi_demo", "2.0", NULL, argc, argv,
                        GNOME_PARAM_MODULES, "libgnomeui", NULL);

When I do (b), I get an assertion in gnome_program_module_register. It wants a non-NULL value for module_info.

    -- Darin




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