Changeset 82

Show
Ignore:
Timestamp:
04/22/08 12:32:59
Author:
pvanhoof
Message:

2008-04-22 Philip Van Hoof <pvanhoof@gnome.org>

        • Updated tny_camel_account_add_option to reflect recent API changes

on Tinymail's trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r81 r82  
     12008-04-22  Philip Van Hoof  <pvanhoof@gnome.org> 
     2 
     3        * Updated tny_camel_account_add_option to reflect recent API changes 
     4        on Tinymail's trunk 
     5 
    162008-04-17  Philip Van Hoof  <pvanhoof@gnome.org> 
    27 
  • trunk/src/tmut-account-store.c

    r79 r82  
    132132                        gint i = 0; 
    133133                        while (options[i] != NULL) { 
    134                                 tny_camel_account_add_option (TNY_CAMEL_ACCOUNT (account), options[i]); 
     134                                gchar *str = g_strdup (options [i]); 
     135                                gchar *key = str; 
     136                                gchar *value = strchr (str, '='); 
     137                                *value = '\0'; 
     138                                value++; 
     139                                tny_camel_account_add_option (TNY_CAMEL_ACCOUNT (account),  
     140                                        tny_pair_new (key, value)); 
    135141                                i++; 
     142                                g_free (str); 
    136143                        } 
    137144                }