[maemo-developers] DBUS / EDS Confusion

From: Ross Burton ross at burtonini.com
Date: Fri Mar 2 00:21:01 EET 2007
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

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

More information about the maemo-developers mailing list