From 588af17c5d7f945b64236aa977bd804759ab9c2d Mon Sep 17 00:00:00 2001 From: Philip Van Hoof Date: Mon, 17 Sep 2007 15:48:38 +0000 Subject: [PATCH] Adapted to latest Tinymail API pmo-trunk-r3321 --- src/modest-tny-account.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modest-tny-account.c b/src/modest-tny-account.c index 71c531d..3f24610 100644 --- a/src/modest-tny-account.c +++ b/src/modest-tny-account.c @@ -554,13 +554,13 @@ forget_pass_dummy (TnyAccount *account) static void -set_online_callback (TnyCamelAccount *account, GError *err, gpointer user_data) +set_online_callback (TnyCamelAccount *account, gboolean canceled, GError *err, gpointer user_data) { /* MODEST TODO: Show a real error message here, this is a significant error! * Perhaps show the account's settings dialog again?! Reconnecting after * changing the settings of an account failed in this situation. */ - if (err) + if (err && !canceled) g_warning ("err: %s", err->message); } -- 1.7.9.5