- /* We must clear first, because otherwise set_folder will ignore
- the change as the folders are the same */
- /* modest_header_view_clear (header_view); */
- /* modest_header_view_set_folder (header_view, folder, TRUE, parent, NULL, NULL); */
+ /* We must clear first, because otherwise set_folder will ignore */
+ /* the change as the folders are the same */
+ modest_header_view_clear (header_view);
+ modest_header_view_set_folder (header_view, folder, TRUE, parent, NULL, NULL);
+
+ g_object_unref (parent);
+ }