MSVC compatibility: Always initialize all members of the QofObject struct.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18954 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2010-03-22 21:14:38 +00:00
parent ead0ae8571
commit dfc294652d
2 changed files with 3 additions and 0 deletions

View File

@ -176,6 +176,7 @@ static QofObject sxtg_object_def =
DI(.interface_version = ) QOF_OBJECT_VERSION,
DI(.e_type = ) GNC_ID_SXTG,
DI(.type_label = ) "Scheduled Transaction Templates",
DI(.create = ) NULL,
DI(.book_begin = ) sxtg_book_begin,
DI(.book_end = ) sxtg_book_end,
DI(.is_dirty = ) sxtg_is_dirty,

View File

@ -2382,6 +2382,7 @@ static QofObject commodity_object_def =
DI(.interface_version = ) QOF_OBJECT_VERSION,
DI(.e_type = ) GNC_ID_COMMODITY,
DI(.type_label = ) "Commodity",
DI(.create = ) NULL,
DI(.book_begin = ) NULL,
DI(.book_end = ) NULL,
DI(.is_dirty = ) qof_collection_is_dirty,
@ -2395,6 +2396,7 @@ static QofObject namespace_object_def =
DI(.interface_version = ) QOF_OBJECT_VERSION,
DI(.e_type = ) GNC_ID_COMMODITY_NAMESPACE,
DI(.type_label = ) "Namespace",
DI(.create = ) NULL,
DI(.book_begin = ) NULL,
DI(.book_end = ) NULL,
DI(.is_dirty = ) NULL,