Re: [Evolution-hackers] Error while trying to obtain ESource list



On Tue, 2006-07-25 at 19:19 -0400, Peter Colijn wrote:
> I think the issue here is that g_type_init() is not being called.
> Generally for gnome programs, the first thing main() should do is call
> gnome_program_init, which will call the init()s of a bunch of
> libraries and make sure that everything is happy. I can get
> e_source_list_new() to not complain with the following code:

libgnome is being deprecated, so unless you have a massive requirement
to use GnomeProgram, the gtk_init (&argc, &argv); will be sufficient.

Ross
-- 
Ross Burton                                 mail: ross burtonini com
                                          jabber: ross burtonini com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF

Attachment: signature.asc
Description: This is a digitally signed message part



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