r20935 - gnucash/trunk/src/engine - [Engine Test] Fix parameter setup error detected with unit test.

John Ralls jralls at code.gnucash.org
Sun Jul 17 13:35:20 EDT 2011


Author: jralls
Date: 2011-07-17 13:35:20 -0400 (Sun, 17 Jul 2011)
New Revision: 20935
Trac: http://svn.gnucash.org/trac/changeset/20935

Modified:
   gnucash/trunk/src/engine/Account.c
Log:
[Engine Test] Fix parameter setup error detected with unit test.

Modified: gnucash/trunk/src/engine/Account.c
===================================================================
--- gnucash/trunk/src/engine/Account.c	2011-07-17 16:46:53 UTC (rev 20934)
+++ gnucash/trunk/src/engine/Account.c	2011-07-17 17:35:20 UTC (rev 20935)
@@ -836,14 +836,14 @@
     g_object_class_install_property
     (gobject_class,
      PROP_TAX_COPY_NUMBER,
-     g_param_spec_int ("tax-copy-number",
-                       "Tax Copy Number",
-                       "This specifies the copy number of the tax "
-                       "form/schedule.",
-                       1,
-                       G_MAXINT16,
-                       1,
-                       G_PARAM_READWRITE));
+     g_param_spec_int64 ("tax-copy-number",
+                         "Tax Copy Number",
+                         "This specifies the copy number of the tax "
+                         "form/schedule.",
+                         (gint64)1,
+                         G_MAXINT64,
+                         (gint64)1,
+                         G_PARAM_READWRITE));
 
     g_object_class_install_property
     (gobject_class,



More information about the gnucash-changes mailing list