* src/modest-ui-actions.c:
authorJose Dapena Paz <jdapena@igalia.com>
Mon, 11 Feb 2008 18:26:50 +0000 (18:26 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Mon, 11 Feb 2008 18:26:50 +0000 (18:26 +0000)
        * Added a forgotten return in on_delete_folder_cb, for the
          case we cancelled the attempt to connect (fixes NB#79872).

pmo-trunk-r4163

src/modest-ui-actions.c

index ef49af6..811b72c 100644 (file)
@@ -2957,6 +2957,7 @@ on_delete_folder_cb (gboolean canceled,
        if (!MODEST_IS_MAIN_WINDOW(parent_window) || canceled || (err!=NULL)) {
                g_object_unref (G_OBJECT (info->folder));
                g_free (info);
+               return;
        }
        
        folder_view = modest_main_window_get_child_widget (