projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3cb9f8
)
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 17:48:03 +0000
(18:48 +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
ade4e99
..
30816a3
100644
(file)
--- a/
src/hildon2/modest-header-window.c
+++ b/
src/hildon2/modest-header-window.c
@@
-990,6
+990,12
@@
update_view (ModestHeaderWindow *self,
guint all_count;
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);