projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f3d0a6c
)
Fixes FwNULL 11/16
author
Sergio Villar Senin
<svillar@igalia.com>
Wed, 18 Mar 2009 17:14:35 +0000
(17:14 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Wed, 18 Mar 2009 17:14:35 +0000
(17:14 +0000)
pmo-trunk-r8176
src/hildon2/modest-platform.c
patch
|
blob
|
history
diff --git
a/src/hildon2/modest-platform.c
b/src/hildon2/modest-platform.c
index
4b2d5c2
..
b9bf211
100644
(file)
--- a/
src/hildon2/modest-platform.c
+++ b/
src/hildon2/modest-platform.c
@@
-2274,7
+2274,7
@@
modest_platform_connect_if_remote_and_perform (GtkWindow *parent_window,
account = TNY_ACCOUNT (g_object_ref (folder_store));
}
account = TNY_ACCOUNT (g_object_ref (folder_store));
}
- if (tny_account_get_account_type (account) == TNY_ACCOUNT_TYPE_STORE) {
+ if (account && (tny_account_get_account_type (account) == TNY_ACCOUNT_TYPE_STORE)) {
if (!modest_tny_folder_store_is_remote (TNY_FOLDER_STORE (account))) {
/* No need to connect a local account */
if (callback)
if (!modest_tny_folder_store_is_remote (TNY_FOLDER_STORE (account))) {
/* No need to connect a local account */
if (callback)