2007-06-22 Murray Cumming <murrayc@murrayc.com>
authorMurray Cumming <murrayc@murrayc.com>
Fri, 22 Jun 2007 16:13:17 +0000 (16:13 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Fri, 22 Jun 2007 16:13:17 +0000 (16:13 +0000)
* src/modest-tny-account-store.c: (get_password):
        Restored the call to tny_account_set_user() because Philip seems to have
        stopped this from crashing (by not using the freed string). It still does
        not work, but now we can test it.

pmo-trunk-r2380

ChangeLog
ChangeLog2
src/modest-tny-account-store.c

index 93fab1b..acb6b92 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1 @@
-2007-06-22  Murray Cumming,,,  <murrayc@murrayc-desktop>
-
-       reviewed by: <delete if not using a buddy>
-
-       * src/maemo/modest-msg-edit-window.c: (init_window):
-
 * please check the svn log instead
index c38f2de..9910c7c 100644 (file)
@@ -1,5 +1,12 @@
 2007-06-22  Murray Cumming  <murrayc@murrayc.com>
 
+       * src/modest-tny-account-store.c: (get_password):
+       Restored the call to tny_account_set_user() because Philip seems to have 
+       stopped this from crashing (by not using the freed string). It still does 
+       not work, but now we can test it.
+
+2007-06-22  Murray Cumming  <murrayc@murrayc.com>
+
        * src/maemo/modest-msg-edit-window.c: (init_window):
        Comment out use of an uninitialzed GtkScrolledWindow variable, 
        to fix the build and stop a crash. Yet again.
index c98b821..dacd687 100644 (file)
@@ -440,10 +440,7 @@ get_password (TnyAccount *account, const gchar * prompt_not_used, gboolean *canc
                if (!*cancel) {
                        /* The password will be returned as the result,
                         * but we need to tell tinymail about the username too: */
-                       /* TODO: This causes a crash because it frees memory that 
-                        * tinymail is already using. tinymail needs to detect the change 
-                        * and stop using the old username: 
-                        * tny_account_set_user (account, username); */
+                       tny_account_set_user (account, username);
                        
                        if (remember) {
                                printf ("%s: Storing username=%s, password=%s\n",