I have included the header file e-source-list.h and added the necessary compiling and linking flags (using pkg-config). But on runtime, it gives me the following error:
___________________________________________________
(process:4289): GLib-GObject-CRITICAL **: gtype.c:2215: initialization assertion failed, use IA__g_type_init() prior to this function
(process:4289): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
Debug: After calling e_source_list_new()
(process:4289): GLib-GObject-CRITICAL **: gtype.c:2215: initialization assertion failed, use IA__g_type_init() prior to this function
(process:4289): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
Segmentation fault
__________________________________________________
Code segment that is giving me the error:
ESourceList* esourcelist = e_source_list_new();
printf("%s","Debug: After calling e_source_list_new()\n");
esourcelist = e_source_list_new_for_gconf_default(GCONFPATH);
printf("%s","Debug: After calling e_source_list_new_for_gconf_default()\n");
Would anyone know why?
Thanks
_______________________________________________ Evolution-hackers mailing list [email protected] http://mail.gnome.org/mailman/listinfo/evolution-hackers
