mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
clear teh dirty flag
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9473 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
99b95a507d
commit
d5a46f510c
@ -79,6 +79,7 @@
|
||||
* obj->editlevel (int)
|
||||
* obj->book (QofBook*)
|
||||
* obj->do_free (gboolean)
|
||||
* obj->dirty (gboolean)
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -146,9 +147,10 @@
|
||||
qof_backend_set_error (be, errcode); \
|
||||
} \
|
||||
} \
|
||||
(on_done)(obj);\
|
||||
if (on_done) { (on_done)(obj); } \
|
||||
obj->dirty = FALSE; \
|
||||
\
|
||||
if ((obj)->do_free) (on_free)(obj); \
|
||||
if ((obj)->do_free) { (on_free)(obj); } \
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
/********************************************************************\
|
||||
* qofobject.h -- the Core Object Registration/Lookup Interface *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
@ -71,6 +72,7 @@ struct _QofObject
|
||||
void (*foreach)(QofBook *, QofEntityForeachCB, gpointer);
|
||||
|
||||
/* Given a particular object, return a printable string */
|
||||
/* Argument should really be QofInstance not gpointer.. */
|
||||
const char * (*printable)(gpointer obj);
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user