r22181 - gnucash/trunk/src/engine - Fix some g-object parameter types

Phil Longstaff plongstaff at code.gnucash.org
Sun May 20 17:18:46 EDT 2012


Author: plongstaff
Date: 2012-05-20 17:18:45 -0400 (Sun, 20 May 2012)
New Revision: 22181
Trac: http://svn.gnucash.org/trac/changeset/22181

Modified:
   gnucash/trunk/src/engine/Transaction.c
Log:
Fix some g-object parameter types


Modified: gnucash/trunk/src/engine/Transaction.c
===================================================================
--- gnucash/trunk/src/engine/Transaction.c	2012-05-20 21:18:08 UTC (rev 22180)
+++ gnucash/trunk/src/engine/Transaction.c	2012-05-20 21:18:45 UTC (rev 22181)
@@ -408,7 +408,7 @@
      g_param_spec_boxed("post-date",
                         "Post Date",
                         "The date the transaction occurred.",
-                        GNC_TYPE_NUMERIC,
+                        GNC_TYPE_TIMESPEC,
                         G_PARAM_READWRITE));
 
     g_object_class_install_property
@@ -417,7 +417,7 @@
      g_param_spec_boxed("enter-date",
                         "Enter Date",
                         "The date the transaction was entered.",
-                        GNC_TYPE_NUMERIC,
+                        GNC_TYPE_TIMESPEC,
                         G_PARAM_READWRITE));
 }
 



More information about the gnucash-changes mailing list