[empathy] there is no reasy why error would be NULL if e_book_get_self failed
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] there is no reasy why error would be NULL if e_book_get_self failed
- Date: Mon, 25 Jan 2010 14:16:05 +0000 (UTC)
commit 367020d3ffc220ced07c93c3cc13841ed2a383ab
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Jan 25 12:48:31 2010 +0000
there is no reasy why error would be NULL if e_book_get_self failed
src/empathy-auto-salut-account-helper.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-auto-salut-account-helper.c b/src/empathy-auto-salut-account-helper.c
index a5fbcf0..ad4d6cb 100644
--- a/src/empathy-auto-salut-account-helper.c
+++ b/src/empathy-auto-salut-account-helper.c
@@ -98,8 +98,7 @@ create_salut_account_settings (void)
/* Get self EContact from EDS */
if (!e_book_get_self (&contact, &book, &error))
{
- DEBUG ("Failed to get self econtact: %s",
- error ? error->message : "No error given");
+ DEBUG ("Failed to get self econtact: %s", error->message);
g_error_free (error);
return settings;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]