projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3628dd9
)
* Fixes a terrible mistake by my side that could cause SIGSEV's in some situations...
author
Sergio Villar Senin
<svillar@igalia.com>
Thu, 14 Feb 2008 09:12:28 +0000
(09:12 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Thu, 14 Feb 2008 09:12:28 +0000
(09:12 +0000)
* Replaced a tny_folder_sync by the async version
pmo-trunk-r4175
src/modest-tny-send-queue.c
patch
|
blob
|
history
diff --git
a/src/modest-tny-send-queue.c
b/src/modest-tny-send-queue.c
index
db4a1af
..
e0716b9
100644
(file)
--- a/
src/modest-tny-send-queue.c
+++ b/
src/modest-tny-send-queue.c
@@
-442,8
+442,7
@@
modest_tny_send_queue_new (TnyCamelTransportAccount *account)
modest_tny_send_queue_wakeup (self);
/* Frees */
- g_object_unref (G_OBJECT (headers));
- g_object_unref (G_OBJECT (priv->outbox));
+ g_object_unref (headers);
g_object_unref (iter);
/* Do this at the end, because it'll call tny_send_queue_flush
@@
-749,7
+748,7
@@
modest_tny_send_queue_wakeup (ModestTnySendQueue *self)
}
/* Make changes persistent on disk */
- tny_folder_sync (priv->outbox, FALSE, NULL);
+ tny_folder_sync_async (priv->outbox, FALSE, NULL, NULL, NULL);
/* Frees */
g_object_unref (iter);