aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-main-window.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index c6519be7f..826cda487 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -417,8 +417,7 @@ main_window_error_close_clicked_cb (GtkButton *button,
static void
main_window_error_display (EmpathyMainWindow *window,
- TpAccount *account,
- TpConnectionStatusReason reason)
+ TpAccount *account)
{
EmpathyMainWindowPriv *priv = GET_PRIV (window);
GtkWidget *info_bar;
@@ -571,7 +570,7 @@ main_window_connection_changed_cb (TpAccount *account,
if (current == TP_CONNECTION_STATUS_DISCONNECTED &&
reason != TP_CONNECTION_STATUS_REASON_REQUESTED) {
- main_window_error_display (window, account, reason);
+ main_window_error_display (window, account);
}
if (current == TP_CONNECTION_STATUS_DISCONNECTED) {