Remove extra lines added during the HTML->text conversion when replying
[modest] / src / hildon2 / modest-folder-window.c
index 3b7604a..2750834 100644 (file)
@@ -246,7 +246,13 @@ modest_folder_window_dispose (GObject *obj)
                        }
                        g_object_unref (iter);
                }
+
+               if (list && TNY_IS_GTK_FOLDER_LIST_STORE (list)) {
+                       g_object_run_dispose (G_OBJECT (list));
+               }
+
                g_object_unref (list);
+               priv->folder_view = NULL;
        }       
 
        G_OBJECT_CLASS(parent_class)->dispose (obj);