mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Rename a data structure field.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13482 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -956,7 +956,7 @@ static void trans_cleanup_commit(Transaction *trans)
|
|||||||
/* Existing split either moved to another transaction or
|
/* Existing split either moved to another transaction or
|
||||||
was destroyed, drop from list */
|
was destroyed, drop from list */
|
||||||
GncEventData ed;
|
GncEventData ed;
|
||||||
ed.parent = trans;
|
ed.node = trans;
|
||||||
ed.idx = g_list_index(trans->splits, s);
|
ed.idx = g_list_index(trans->splits, s);
|
||||||
trans->splits = g_list_remove(trans->splits, s);
|
trans->splits = g_list_remove(trans->splits, s);
|
||||||
qof_event_gen(&s->inst.entity, QOF_EVENT_REMOVE, &ed);
|
qof_event_gen(&s->inst.entity, QOF_EVENT_REMOVE, &ed);
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
gpointer parent;
|
gpointer node;
|
||||||
gint idx;
|
gint idx;
|
||||||
} GncEventData;
|
} GncEventData;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user