Cool, thanks for the clarification. gtk_init() is definitely simpler!

Have fun,

Peter

On 7/26/06, Ross Burton <[EMAIL PROTECTED]> wrote:
> 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: [EMAIL PROTECTED]
>                                           jabber: [EMAIL PROTECTED]
>                                      www: http://www.burtonini.com./
>  PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
>
> iD8DBQBExyAsLQnkR9C0M98RAq9cAKCLLo61+X3fqJhRm+mrpPVRSGzTtwCgtSuo
> 4O6PeWcsqSPQKnth0MbGhzo=
> =7vYN
> -----END PGP SIGNATURE-----
>
>
>
_______________________________________________
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers

Reply via email to