[maemo-developers] [maemo-developers] libebook
From: Pinghang.Koon at tietoenator.com Pinghang.Koon at tietoenator.comDate: Tue Jul 25 11:27:24 EEST 2006
- Previous message: [maemo-developers] Re: libebook
- Next message: [maemo-developers] sounds through pygtk?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Sorry disturbing, I found out the answer myself. g_type_init() has to be done. Yours faithfully, Alvis Koon -----Original Message----- From: maemo-developers-bounces at maemo.org [mailto:maemo-developers-bounces at maemo.org] On Behalf Of Pinghang.Koon at tietoenator.com Sent: Tuesday, July 25, 2006 4:23 PM To: maemo-developers at maemo.org Subject: [maemo-developers] libebook Dear all, I am trying to use the EDS in my program. ESourceList *slist; if (! e_book_get_addressbooks (&slist, NULL) ) { printf("Fail to get address book\n"); } The program compiles but quit itself running the e_book_get_addressbooks(). The error message is: GLIB CRITICAL ** GLib-GObject - gtype.c : initialization assertion failed, use IA__g_type_init() prior to this function GLIB CRITICAL ** GLib-GObject - g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed GLIB CRITICAL ** Glib-GObject - g_object_ref: assertion `G_IS_OBJECT (object)' failed Please help, and thanks in advance. Alvis Koon Software Engineer _______________________________________________ maemo-developers mailing list maemo-developers at maemo.org https://maemo.org/mailman/listinfo/maemo-developers
- Previous message: [maemo-developers] Re: libebook
- Next message: [maemo-developers] sounds through pygtk?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]