please file a bug on this - e_book_new_system_addressbook really doesn't need to be looking for properties at all, it can just find the ESource based on it's relative_uri ("system").
Chris On Mon, 2004-07-26 at 04:06 -0600, Jayant Balraj Madavi wrote: > Hi, > I am writing some application for which I create > > EBook *book =e_book_new_system_addressbook(NULL); > > now i get > ESource *source= e_book_get_source(book); > > when i print > printf("SourceName = %s", e_source_peek_name(source)); > > I am not getting any Value. (it is empty !!). > > When i looked at Evolution code it looks like the implementation of (in > the file e-book.c) > EBook *e_book_new_sytem_addressbook(GError **error) { > ... > ... > /* THIS call will always fail b'se "system" property does not exsist > and it will create e_book from URI !!!! */ > e_source_get_property(source,"system"); > > ... > ... > > } > > > Is it a defect !!! I need to have *name* of the source ..though > alternate way(will be very costly for my application) is there to get > the *name* but API should provide it. > > thanx in advance, > Jayant (aZEN_JM) > _______________________________________________ > evolution-hackers maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/evolution-hackers > > > !DSPAM:4104d89c230541349158782! > > _______________________________________________ evolution-hackers maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/evolution-hackers