Changeset 3649
- Timestamp:
- 05/09/08 12:28:01
- Files:
-
- releases/modest/diablo-pe1/ChangeLog (modified) (1 diff)
- releases/modest/diablo-pe1/libtinymail-camel/tny-camel-folder.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
releases/modest/diablo-pe1/ChangeLog
r3644 r3649 1 2008-05-09 Jose Dapena Paz <jdapena@igalia.com> 2 3 * libtinymail-camel/tny-camel-folder.c: 4 Add some reasons/unreasons in get_headers_operation, to avoid 5 getting a 0 account when we are replacing the headers in the 6 gtk list store model. This should avoid some very hidden 7 crashes. 8 1 9 2008-05-06 Jose Dapena Paz <jdapena@igalia.com> 2 10 releases/modest/diablo-pe1/libtinymail-camel/tny-camel-folder.c
r3616 r3649 27 27 28 28 #include <string.h> 29 #define DEBUG_EXTRA 29 30 30 31 … … 1556 1557 1557 1558 camel_folder_sync (priv->folder, expunge, &ex); 1559 _tny_camel_folder_reason (priv); 1558 1560 _tny_camel_folder_check_unread_count (TNY_CAMEL_FOLDER (self)); 1559 1561 reset_local_size (priv); 1562 _tny_camel_folder_unreason (priv); 1560 1563 1561 1564 g_static_rec_mutex_unlock (priv->folder_lock); … … 2157 2160 { 2158 2161 GetHeadersInfo *info = thr_user_data; 2162 TnyCamelFolderPriv *priv = TNY_CAMEL_FOLDER_GET_PRIVATE (info->self); 2159 2163 2160 2164 /* thread reference */ 2165 _tny_camel_folder_unreason (priv); 2161 2166 g_object_unref (info->self); 2162 2167 g_object_unref (info->headers); … … 2204 2209 { 2205 2210 GetHeadersInfo *info = thr_user_data; 2211 TnyCamelFolderPriv *priv = TNY_CAMEL_FOLDER_GET_PRIVATE (info->self); 2206 2212 2207 2213 if (info->err) 2208 2214 g_error_free (info->err); 2215 _tny_camel_folder_unreason (priv); 2209 2216 g_object_unref (info->self); 2210 2217 g_object_unref (info->headers); … … 2258 2265 g_object_ref (info->headers); 2259 2266 2267 _tny_camel_folder_reason (priv); 2260 2268 _tny_camel_queue_cancel_remove_items (TNY_FOLDER_PRIV_GET_QUEUE (priv), 2261 2269 TNY_CAMEL_QUEUE_GET_HEADERS_ITEM|TNY_CAMEL_QUEUE_SYNC_ITEM|
