projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added a proper initialization
[modest]
/
src
/
hildon2
/
modest-folder-window.c
diff --git
a/src/hildon2/modest-folder-window.c
b/src/hildon2/modest-folder-window.c
index
3310570
..
9de1b80
100644
(file)
--- a/
src/hildon2/modest-folder-window.c
+++ b/
src/hildon2/modest-folder-window.c
@@
-808,6
+808,9
@@
on_visible_account_changed (ModestFolderView *folder_view,
{
TnyAccount *account;
+ if (!account_id)
+ return;
+
account = modest_tny_account_store_get_tny_account_by (modest_runtime_get_account_store(),
MODEST_TNY_ACCOUNT_STORE_QUERY_ID,
account_id);