On Thu, 2007-03-01 at 15:05 -0600, Adam L wrote:
> Here is the offending code, within a static void section linked to a menu
> action:
> [CODE]
> EBook *mybook = e_book_new_from_uri("/home/adam/books/adambook", &err);
> if (mybook == NULL)
> {
> hildon_banner_show_information(GTK_WIDGET(app->window), NULL, err->message);
> }
> [/CODE]
Note that unless you really want to, you should use
e_book_new_system_addressbook () instead of hard-coding a path. This
way you re-use the existing addressbook.
>From a single line of source it's tricky to debug... can you publish the
source?
Ross
--
Ross Burton mail: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]
www: http://www.burtonini.com./
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers