[Evolution-hackers] Error while trying to obtain ESource list
- From: "Teresa Thomas" <tere ertw gmail com>
- To: evolution-hackers gnome org, gnome-hackers gnome org
- Subject: [Evolution-hackers] Error while trying to obtain ESource list
- Date: Tue, 25 Jul 2006 18:20:03 -0400
Im trying to use the functions, e_source_list_new() and e_source_list_new_for_gconf_default(char* path) from libedataserver to get the ESourceList.
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]