add new ctree sorting code
[claws.git] / src / foldersel.c
index be3b84c204bcaf6c6f104337501bf9564d2461de..c9d197f95f6d51d1bc2500dde670eff14c2637b6 100644 (file)
@@ -319,7 +319,7 @@ static void foldersel_set_tree(Folder *cur_folder, FolderSelectionType type)
                                              folder->node,
                                              foldersel_gnode_func,
                                              NULL);
-               gtk_ctree_sort_recursive(GTK_CTREE(ctree), node);
+               gtk_sctree_sort_recursive(GTK_CTREE(ctree), node);
                SET_SPECIAL_FOLDER(folder->inbox);
                SET_SPECIAL_FOLDER(folder->outbox);
                SET_SPECIAL_FOLDER(folder->draft);