From 1607d4b15dc3b82e6dcc07ed06aba900f4c22d17 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Wed, 24 Oct 2007 07:58:36 +0000 Subject: [PATCH] * Restored some code deleted by error pmo-trunk-r3565 --- src/widgets/modest-window-mgr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/widgets/modest-window-mgr.c b/src/widgets/modest-window-mgr.c index ced34cc..aa654f4 100644 --- a/src/widgets/modest-window-mgr.c +++ b/src/widgets/modest-window-mgr.c @@ -682,7 +682,8 @@ modest_window_mgr_unregister_window (ModestWindowMgr *self, /* Remove the viewer window handler from the hash table. The HashTable could not exist if the main window was closeed when there were other windows remaining */ - if (MODEST_IS_MSG_VIEW_WINDOW (window) && priv->viewer_handlers) { + if (MODEST_IS_MSG_VIEW_WINDOW (window) && priv->viewaer_handlers) { + tmp = (gulong *) g_hash_table_lookup (priv->viewer_handlers, window); /* If the viewer was created without a main window (for example when opening a message through D-Bus the viewer handlers was not registered */ -- 1.7.9.5