Changeset 2484
- Timestamp:
- 07/24/07 08:32:50
- Files:
-
- trunk/ChangeLog (modified) (1 diff)
- trunk/libtinymail-camel/tny-camel-account.c (modified) (1 diff)
- trunk/libtinymail/tny-merge-folder.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ChangeLog
r2483 r2484 1 2007-07-23 Murray Cumming <murrayc@murrayc.com> 2 3 * libtinymail-camel/tny-camel-account.c: Improved the 4 documentation for tny_camel_account_set_online(). 5 6 * libtinymail/tny-merge-folder.c: (tny_merge_folder_get_id), 7 (tny_merge_folder_instance_init): Use 8 unknown_mergefolder instead of an empty string for the default ID, 9 because an empty string is not allowed by the get_func_id() DBC 10 contract, causing a crash at runtime when DBC is enabled in the build. 11 1 12 2007-07-23 Jose Dapena Paz <jdapena@igalia.com> 2 13 trunk/libtinymail-camel/tny-camel-account.c
r2470 r2484 1166 1166 * @err: a #GError instance or NULL 1167 1167 * 1168 * Set the connectivity status of an account 1168 * Set the connectivity status of an account. 1169 * Setting this to FALSE means that the account will not attempt to use the network, 1170 * and will use only the cache. 1171 * Setting this to TRUE means that the account may use the network to provide up-to-date 1172 * information. 1169 1173 * 1170 1174 **/ trunk/libtinymail/tny-merge-folder.c
r2467 r2484 510 510 } 511 511 512 /* The get_id_func() DBC contract does not allow this to be NULL or "": */ 513 if ( (priv->id == NULL) || (strlen (priv->id) == 0)) { 514 priv->id = g_strdup ("unknown_mergefolder"); 515 } 516 512 517 return priv->id; 513 518 } … … 1233 1238 TnyMergeFolderPriv *priv = TNY_MERGE_FOLDER_GET_PRIVATE (self); 1234 1239 1235 priv->id = g_strdup (""); 1240 /* The get_id_func() DBC contract does not allow this to be NULL or "": */ 1241 priv->id = g_strdup ("unknown_mergefolder"); 1242 1236 1243 priv->mothers = tny_simple_list_new (); 1237 1244 priv->lock = g_new0 (GStaticRecMutex, 1);
