* back out the threading patch for now, it gives errors

ERROR:mu-container.c:182:mu_container_append_children: assertion failed: (c != child)
This commit is contained in:
djcb 2012-12-23 01:14:00 +02:00
parent f3654aa22b
commit 5d63663ac6
1 changed files with 3 additions and 12 deletions

View File

@ -283,20 +283,11 @@ handle_references (GHashTable *id_table, MuContainer *c)
Note that at all times, the various ``parent'' and ``child'' fields
must be kept inter-consistent. */
/* optimization: if the the message was newly added, it's by
* definition not reachable yet */
if (parent && c && !(c->child && mu_container_reachable (c->child, parent))) {
/* if c already has a parent, remove c from its parent children
and reparent it, as now we know who is c's parent reliably */
if (c->parent) {
mu_container_remove_child(c->parent, c);
c->next = c->last = c->parent = NULL;
}
/* optimization: if the the message was newly added, it's by
* definition not reachable yet */
if (child_elligible (parent, c, created))
parent = mu_container_append_children (parent, c);
}
}