projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8ba56c
)
Fix usage of uninitialized window stack in fremantle win mgr
author
Jose Dapena Paz
<jdapena@igalia.com>
Thu, 11 Dec 2008 15:14:05 +0000
(15:14 +0000)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Thu, 11 Dec 2008 15:14:05 +0000
(15:14 +0000)
pmo-drop-split-view-r6777
src/hildon2/modest-hildon2-window-mgr.c
patch
|
blob
|
history
diff --git
a/src/hildon2/modest-hildon2-window-mgr.c
b/src/hildon2/modest-hildon2-window-mgr.c
index
04823c1
..
ad97d75
100644
(file)
--- a/
src/hildon2/modest-hildon2-window-mgr.c
+++ b/
src/hildon2/modest-hildon2-window-mgr.c
@@
-354,6
+354,8
@@
modest_hildon2_window_mgr_register_window (ModestWindowMgr *self,
return TRUE;
}
+ stack = hildon_window_stack_get_default ();
+
if (!MODEST_WINDOW_MGR_CLASS (parent_class)->register_window (self, window, parent))
goto fail;
@@
-361,7
+363,6
@@
modest_hildon2_window_mgr_register_window (ModestWindowMgr *self,
g_object_ref (window);
priv->window_list = g_list_prepend (priv->window_list, window);
- stack = hildon_window_stack_get_default ();
current_top = hildon_window_stack_peek (stack);
/* policy is: if no parent, then we close all up message views, but no account/folder/header window */