aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-05 20:17:33 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-05 20:17:33 +0800
commit717184f6d506b0fe6ea316accbb6aeebb3253919 (patch)
tree3d2740b6b28fe23684ac9c4c0672724aafd99b3c
parent1707cb8bb953cb4886a8e3b8ab0eeddf0d6b0567 (diff)
downloadgsoc2013-empathy-717184f6d506b0fe6ea316accbb6aeebb3253919.tar
gsoc2013-empathy-717184f6d506b0fe6ea316accbb6aeebb3253919.tar.gz
gsoc2013-empathy-717184f6d506b0fe6ea316accbb6aeebb3253919.tar.bz2
gsoc2013-empathy-717184f6d506b0fe6ea316accbb6aeebb3253919.tar.lz
gsoc2013-empathy-717184f6d506b0fe6ea316accbb6aeebb3253919.tar.xz
gsoc2013-empathy-717184f6d506b0fe6ea316accbb6aeebb3253919.tar.zst
gsoc2013-empathy-717184f6d506b0fe6ea316accbb6aeebb3253919.zip
no need to pass the reason to main_window_error_display
-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) {