projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bca28d
)
Do not update the header window if the window was previously closed
author
Sergio Villar Senin
<svillar@igalia.com>
Mon, 9 Nov 2009 09:16:21 +0000
(10:16 +0100)
committer
Sergio Villar Senin
<svillar@igalia.com>
Mon, 9 Nov 2009 18:36:18 +0000
(19:36 +0100)
Fixes NB#145788
src/hildon2/modest-header-window.c
patch
|
blob
|
history
diff --git
a/src/hildon2/modest-header-window.c
b/src/hildon2/modest-header-window.c
index
9473664
..
4aa8b7b
100644
(file)
--- a/
src/hildon2/modest-header-window.c
+++ b/
src/hildon2/modest-header-window.c
@@
-906,6
+906,12
@@
update_view (ModestHeaderWindow *self,
TnyFolder *folder;
g_return_if_fail (MODEST_IS_HEADER_WINDOW(self));
+
+ /* It could happen when some event is received and the window
+ was previously closed */
+ if (!MODEST_IS_HEADER_WINDOW (self))
+ return;
+
priv = MODEST_HEADER_WINDOW_GET_PRIVATE (self);
folder = modest_header_view_get_folder ((ModestHeaderView *) priv->header_view);