r18954 - gnucash/trunk/src/engine - MSVC compatibility: Always initialize all members of the QofObject struct.
Christian Stimming
cstim at code.gnucash.org
Mon Mar 22 17:14:38 EDT 2010
Author: cstim
Date: 2010-03-22 17:14:38 -0400 (Mon, 22 Mar 2010)
New Revision: 18954
Trac: http://svn.gnucash.org/trac/changeset/18954
Modified:
gnucash/trunk/src/engine/SX-book.c
gnucash/trunk/src/engine/gnc-commodity.c
Log:
MSVC compatibility: Always initialize all members of the QofObject struct.
Modified: gnucash/trunk/src/engine/SX-book.c
===================================================================
--- gnucash/trunk/src/engine/SX-book.c 2010-03-22 20:43:38 UTC (rev 18953)
+++ gnucash/trunk/src/engine/SX-book.c 2010-03-22 21:14:38 UTC (rev 18954)
@@ -176,6 +176,7 @@
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,
Modified: gnucash/trunk/src/engine/gnc-commodity.c
===================================================================
--- gnucash/trunk/src/engine/gnc-commodity.c 2010-03-22 20:43:38 UTC (rev 18953)
+++ gnucash/trunk/src/engine/gnc-commodity.c 2010-03-22 21:14:38 UTC (rev 18954)
@@ -2382,6 +2382,7 @@
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 @@
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,
More information about the gnucash-changes
mailing list