From 717184f6d506b0fe6ea316accbb6aeebb3253919 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 5 Aug 2010 14:17:33 +0200 Subject: no need to pass the reason to main_window_error_display --- src/empathy-main-window.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3