On Tue, 2004-04-13 at 23:45 +0200, Damien Sandras wrote:
> Hi again,
>
> Another problem, doing e_source_new ("try1", "Try3"); segfaults with :
>
> ---
> (process:14814): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
> assertion failed, use g_type_init() prior to this function
>
> (process:14814): GLib-GObject-CRITICAL **: file gobject.c: line 819
> (g_object_new): assertion `G_TYPE_IS_OBJECT (object_type)' failed
>
> Program received signal SIGSEGV, Segmentation fault.
> ---
>
> Actually, source = g_object_new (e_source_get_type (), NULL);
> fails in e-source.c leading source->priv->uid = e_uid_new () to
> segfault.
>
> I don't understand as evolution behaves correctly, but my test programs
> has this bug. Is there some workaround?
>
seems you are not running gtk_init/g_type_init on your program?
cheers
_______________________________________________
evolution-hackers maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers