Take advantage of the initial property definition for Transaction, Split, GNCPrice and SchedXaction by replacing custom access routines with gobject properties.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18763 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Phil Longstaff
2010-02-28 17:36:49 +00:00
parent 181286c970
commit dc65c95b77
3 changed files with 7 additions and 9 deletions

View File

@@ -67,7 +67,7 @@ static const GncSqlColumnTableEntry col_table[] =
{
/*@ -full_init_block @*/
{ "guid", CT_GUID, 0, COL_NNUL|COL_PKEY, "guid" },
{ "name", CT_STRING, SX_MAX_NAME_LEN, 0, NULL, GNC_SX_NAME },
{ "name", CT_STRING, SX_MAX_NAME_LEN, 0, "name" },
{ "enabled", CT_BOOLEAN, 0, COL_NNUL, NULL, NULL,
(QofAccessFunc)xaccSchedXactionGetEnabled, (QofSetterFunc)xaccSchedXactionSetEnabled },
{ "start_date", CT_GDATE, 0, 0, NULL, GNC_SX_START_DATE },