From 819f5057c5a061f4b93ffb5e61c76c9938661b1c Mon Sep 17 00:00:00 2001 From: Not Zed 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 * 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/ChangeLog | 6 ++++++ mail/subscribe-dialog.c | 8 +++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index cb7ccc5c9e..667b402042 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2003-03-03 Not Zed + + * 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. + 2003-02-26 Jeffrey Stedfast * mail-preferences.c: Reverted back to using e-iconv 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