Re: [GnomeMeeting-devel-list] Libebook issues
- From: Julien PUYDT <jpuydt free fr>
- To: GnomeMeeting development mailing list <gnomemeeting-devel-list gnome org>
- Subject: Re: [GnomeMeeting-devel-list] Libebook issues
- Date: Tue, 01 Nov 2005 12:02:57 +0100
Damien Sandras a écrit :
Which makes me think the code probably should be :
GError *error = NULL;
ebook = e_book_new_default_addressbook (&error);
if (error) {
g_error_free (error); /* don't leak ! */
return NULL;
}
It will just print a message in the terminal, that's not appropriate for
an UI. I wouldn't do it.
Notice that I used g_print for debugging purposes, but the proposed new
code doesn't print anything ;-)
Snark
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]