From 819f5057c5a061f4b93ffb5e61c76c9938661b1c Mon Sep 17 00:00:00 2001
From: Not Zed <NotZed@Ximian.com>
Date: Mon, 3 Mar 2003 06:38:02 +0000
Subject: Remove the e_tree_memory_sort_node, currently it crashes inside gal,
 the

2003-03-03  Not Zed  <NotZed@Ximian.com>

        * subscribe-dialog.c (fe_got_children): Remove the
        e_tree_memory_sort_node, currently it crashes inside gal, the root
        node seems to get free'd under it.

svn path=/trunk/; revision=20120
---
 mail/subscribe-dialog.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'mail/subscribe-dialog.c')

diff --git a/mail/subscribe-dialog.c b/mail/subscribe-dialog.c
index 7500b4a7ca..173c8f9581 100644
--- a/mail/subscribe-dialog.c
+++ b/mail/subscribe-dialog.c
@@ -471,8 +471,8 @@ subscribe_get_global_extras (void)
 {
 	if (global_extras == NULL) {
 		global_extras = g_object_new (fete_get_type(), NULL);
-		g_object_ref(global_extras);
-		gtk_object_sink((GtkObject *)global_extras);
+		/*g_object_ref(global_extras);
+		  gtk_object_sink((GtkObject *)global_extras);*/
 		g_object_weak_ref(G_OBJECT(global_extras), global_extras_destroyed, NULL);
 	} else {
 		g_object_ref(global_extras);
@@ -727,11 +727,13 @@ fe_got_children (CamelStore *store, char *prefix, CamelFolderInfo *info, gpointe
 		g_hash_table_insert(closure->ftree->node_full_name, ftree_node_get_full_name(node), child_path);
 	}
 
+#if 0
+	/* FIXME: this needs to be added back to sort the tree */
 	e_tree_memory_sort_node (E_TREE_MEMORY (closure->ftree), 
 				 closure->path,
 				 fe_sort_folder,
 				 NULL);
-
+#endif
 	if (closure->data)
 		closure->data->flags |= FTREE_NODE_GOT_CHILDREN;
 
-- 
cgit v1.2.3