aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-05 20:14:34 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-05 20:14:34 +0800
commit1707cb8bb953cb4886a8e3b8ab0eeddf0d6b0567 (patch)
tree0f290f2b143f24c80238962d4463737e1152dda4 /src
parentb5e7268ebc857928c6672d84b23c1c05f9a45bd5 (diff)
downloadgsoc2013-empathy-1707cb8bb953cb4886a8e3b8ab0eeddf0d6b0567.tar
gsoc2013-empathy-1707cb8bb953cb4886a8e3b8ab0eeddf0d6b0567.tar.gz
gsoc2013-empathy-1707cb8bb953cb4886a8e3b8ab0eeddf0d6b0567.tar.bz2
gsoc2013-empathy-1707cb8bb953cb4886a8e3b8ab0eeddf0d6b0567.tar.lz
gsoc2013-empathy-1707cb8bb953cb4886a8e3b8ab0eeddf0d6b0567.tar.xz
gsoc2013-empathy-1707cb8bb953cb4886a8e3b8ab0eeddf0d6b0567.tar.zst
gsoc2013-empathy-1707cb8bb953cb4886a8e3b8ab0eeddf0d6b0567.zip
no need to pass the reason to empathy_account_get_error_message
Diffstat (limited to 'src')
-rw-r--r--src/empathy-accounts-dialog.c4
-rw-r--r--src/empathy-main-window.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index a3a771cc4..e7977894c 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -310,7 +310,7 @@ accounts_dialog_update_status_infobar (EmpathyAccountsDialog *dialog,
gchar *message;
message = g_strdup_printf (_("Offline — %s"),
- empathy_account_get_error_message (account, reason));
+ empathy_account_get_error_message (account));
gtk_info_bar_set_message_type (GTK_INFO_BAR (priv->infobar),
GTK_MESSAGE_WARNING);
@@ -322,7 +322,7 @@ accounts_dialog_update_status_infobar (EmpathyAccountsDialog *dialog,
gchar *message;
message = g_strdup_printf (_("Disconnected — %s"),
- empathy_account_get_error_message (account, reason));
+ empathy_account_get_error_message (account));
gtk_info_bar_set_message_type (GTK_INFO_BAR (priv->infobar),
GTK_MESSAGE_ERROR);
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index afca30281..c6519be7f 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -435,7 +435,7 @@ main_window_error_display (EmpathyMainWindow *window,
str = g_markup_printf_escaped ("<b>%s</b>\n%s",
tp_account_get_display_name (account),
- empathy_account_get_error_message (account, reason));
+ empathy_account_get_error_message (account));
info_bar = g_hash_table_lookup (priv->errors, account);
if (info_bar) {