diff --git a/src/engine/Transaction.c b/src/engine/Transaction.c index 831ae362d8..321ba4be68 100644 --- a/src/engine/Transaction.c +++ b/src/engine/Transaction.c @@ -956,7 +956,7 @@ static void trans_cleanup_commit(Transaction *trans) /* Existing split either moved to another transaction or was destroyed, drop from list */ GncEventData ed; - ed.parent = trans; + ed.node = trans; ed.idx = g_list_index(trans->splits, s); trans->splits = g_list_remove(trans->splits, s); qof_event_gen(&s->inst.entity, QOF_EVENT_REMOVE, &ed); diff --git a/src/engine/gnc-event.h b/src/engine/gnc-event.h index 09f3d80df5..c5b925740c 100644 --- a/src/engine/gnc-event.h +++ b/src/engine/gnc-event.h @@ -26,7 +26,7 @@ #include typedef struct { - gpointer parent; + gpointer node; gint idx; } GncEventData;