From: Philip Van Hoof Date: Mon, 17 Sep 2007 15:48:38 +0000 (+0000) Subject: Adapted to latest Tinymail API X-Git-Tag: git_migration_finished~2350 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=588af17c5d7f945b64236aa977bd804759ab9c2d;ds=sidebyside Adapted to latest Tinymail API pmo-trunk-r3321 --- 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); }