-
- if (priv->account_store) {
- g_object_unref (G_OBJECT(priv->account_store));
- modest_runtime_verify_object_death(priv->account_store,"");
- priv->account_store = NULL;
- }
-
- if (priv->account_mgr) {
- g_object_unref (G_OBJECT(priv->account_mgr));
- modest_runtime_verify_object_death(priv->account_mgr,"");
- priv->account_mgr = NULL;
+
+ if (priv->window_mgr) {
+ MODEST_DEBUG_VERIFY_OBJECT_LAST_REF(priv->window_mgr,"");
+ g_object_unref (G_OBJECT(priv->window_mgr));
+ priv->window_mgr = NULL;