r18950 - gnucash/trunk/src/business/business-core - Fix #613574 - Cannot create/save new employees using MySQL backend

Phil Longstaff plongstaff at code.gnucash.org
Mon Mar 22 07:31:03 EDT 2010


Author: plongstaff
Date: 2010-03-22 07:31:03 -0400 (Mon, 22 Mar 2010)
New Revision: 18950
Trac: http://svn.gnucash.org/trac/changeset/18950

Modified:
   gnucash/trunk/src/business/business-core/gncEmployee.c
Log:
Fix #613574 - Cannot create/save new employees using MySQL backend

Wrong gobject property name used when creating "username" property - sql backend couldn't read it.


Modified: gnucash/trunk/src/business/business-core/gncEmployee.c
===================================================================
--- gnucash/trunk/src/business/business-core/gncEmployee.c	2010-03-22 09:33:28 UTC (rev 18949)
+++ gnucash/trunk/src/business/business-core/gncEmployee.c	2010-03-22 11:31:03 UTC (rev 18950)
@@ -217,7 +217,7 @@
     g_object_class_install_property
     (gobject_class,
      PROP_USERNAME,
-     g_param_spec_string ("name",
+     g_param_spec_string ("username",
                           "Employee Name",
                           "The employee name is an arbitrary string "
                           "assigned by the user which provides the employee "



More information about the gnucash-changes mailing list