Initialisation and GConf problems



Exactly what functions should I call when my application starts up?

Within Conglomerate, I'm currently calling this:

gnome_program_init (PACKAGE_NAME, 
	PACKAGE_VERSION,
	LIBGNOMEUI_MODULE,
	argc,argv,
	GNOME_PARAM_HUMAN_READABLE_NAME,
	_("XML Editor"),
	GNOME_PARAM_APP_DATADIR, DATADIR,
	NULL);

Some users have reported problems with crashes a few lines later, inside
a call to gconf_client_get_default.

Am I right in suspecting that I ought to be using the macro
GNOME_PROGRAM_STANDARD_PROPERTIES and that doing so might fix these
problems?

See this bug for further info:
http://bugzilla.gnome.org/show_bug.cgi?id=119755

Thanks; hope I got the correct mailing list!

-- 
David Malcolm
www.conglomerate.org




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