[maemo-developers] [maemo-developers] Re: libebook
From: Ross Burton ross at burtonini.comDate: Tue Jul 25 11:44:17 EEST 2006
- Previous message: [maemo-developers] libebook
- Next message: [maemo-developers] libebook
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 2006-07-25 at 11:22 +0300, Pinghang.Koon at tietoenator.com wrote: > 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"); > } I see you fixed the problem, but instead of iterating over the addressbooks, just use e_book_new_system_addressbook(). There is only one addressbook on the 770, and that function will return it (unless you are creating other addressbooks, but I advise against that). Ross -- Ross Burton mail: ross at burtonini.com jabber: ross at burtonini.com www: http://www.burtonini.com./ PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
- Previous message: [maemo-developers] libebook
- Next message: [maemo-developers] libebook
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]