projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d7d9da7
)
Fix usage of uninitialized window stack in fremantle win mgr
author
Jose Dapena Paz
<jdapena@igalia.com>
Thu, 11 Dec 2008 18:13:13 +0000
(18:13 +0000)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Thu, 11 Dec 2008 18:13:13 +0000
(18:13 +0000)
pmo-trunk-r6793
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
d421199
..
41d2b3e
100644
(file)
--- a/
src/hildon2/modest-hildon2-window-mgr.c
+++ b/
src/hildon2/modest-hildon2-window-mgr.c
@@
-350,6
+350,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;
@@
-357,7
+359,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);
/* TODO: rethink this method it will be different depending on