[empathy: 8/11] empathy_account_get_error_message: no need to get the details hash table
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 8/11] empathy_account_get_error_message: no need to get the details hash table
- Date: Thu, 5 Aug 2010 12:20:09 +0000 (UTC)
commit b5e7268ebc857928c6672d84b23c1c05f9a45bd5
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu Aug 5 14:11:04 2010 +0200
empathy_account_get_error_message: no need to get the details hash table
libempathy/empathy-utils.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index 939b328..b0abaa9 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -392,9 +392,8 @@ empathy_account_get_error_message (TpAccount *account,
{
const gchar *dbus_error;
const gchar *message;
- const GHashTable *details = NULL;
- dbus_error = tp_account_get_detailed_error (account, &details);
+ dbus_error = tp_account_get_detailed_error (account, NULL);
message = empathy_dbus_error_name_get_default_message (dbus_error);
if (message != NULL)
return message;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]