[empathy: 10/11] no need to pass the reason to main_window_error_display



commit 717184f6d506b0fe6ea316accbb6aeebb3253919
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Aug 5 14:17:33 2010 +0200

    no need to pass the reason to main_window_error_display

 src/empathy-main-window.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index c6519be..826cda4 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) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]