From: Guillaume Desmottes Date: Thu, 5 Aug 2010 12:17:33 +0000 (+0200) Subject: no need to pass the reason to main_window_error_display X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=717184f6d506b0fe6ea316accbb6aeebb3253919 no need to pass the reason to main_window_error_display --- diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c index c6519be7..826cda48 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) {