projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3991667
)
Use the proper call to retrieve the transport account
author
Sergio Villar Senin
<svillar@igalia.com>
Thu, 2 Jul 2009 15:16:42 +0000
(17:16 +0200)
committer
Sergio Villar Senin
<svillar@igalia.com>
Thu, 2 Jul 2009 15:16:42 +0000
(17:16 +0200)
src/modest-utils.c
patch
|
blob
|
history
diff --git
a/src/modest-utils.c
b/src/modest-utils.c
index
3c2ad2f
..
4447e5e
100644
(file)
--- a/
src/modest-utils.c
+++ b/
src/modest-utils.c
@@
-1149,10
+1149,9
@@
modest_utils_flush_send_queue (const gchar *account_id)
/* Get the transport account */
account = (TnyTransportAccount *)
- modest_tny_account_store_get_tny_account_by (modest_runtime_get_account_store (),
- MODEST_TNY_ACCOUNT_STORE_QUERY_ID,
- account_id);
-
+ modest_tny_account_store_get_server_account (modest_runtime_get_account_store (),
+ account_id,
+ TNY_ACCOUNT_TYPE_TRANSPORT);
if (account) {
ModestMailOperation *wakeup_op;
ModestTnySendQueue *send_queue = modest_runtime_get_send_queue (account, TRUE);