+2007-06-26 Murray Cumming,,, <murrayc@murrayc-desktop>
+
+ reviewed by: <delete if not using a buddy>
+
+ * src/modest-tny-account-store.c: (get_password):
+
* please check the svn log instead
2007-06-26 Murray Cumming <murrayc@murrayc.com>
+ * src/modest-tny-account-store.c: (get_password):
+ Added some checks for NULL to maybe prevent crashes, though I think
+ it was Philip's last commit that actually prevented the crash here
+ when creating a first new account.
+ But the new account is still not usable (no messages are shown)
+ until a restart of the application.
+
+2007-06-26 Murray Cumming <murrayc@murrayc.com>
+
* src/maemo/modest-maemo-global-settings-dialog.c:
(idle_select_default_focus):
* src/modest-mail-operation.c: (idle_notify_progress),
if (cancel)
*cancel = FALSE;
+ g_return_val_if_fail (account, NULL);
+
const gchar *key;
const TnyAccountStore *account_store;
ModestTnyAccountStore *self;
/* is it in the hash? if it's already there, it must be wrong... */
pwd_ptr = (gpointer)&pwd; /* pwd_ptr so the compiler does not complained about
* type-punned ptrs...*/
- already_asked = g_hash_table_lookup_extended (priv->password_hash,
+ already_asked = priv->password_hash &&
+ g_hash_table_lookup_extended (priv->password_hash,
key,
NULL,
(gpointer*)&pwd_ptr);