Possible innocuous bug in qofinstance properties.

Stefan Koch stefan.koch.micro at gmail.com
Sun Jan 25 11:46:20 EST 2026


While trying to learn some of the systems in the source code
through writing unit tests, I think I found a bug in the way the
qofinstance properties are setup.  (I don't see much usage of this so it
may not be an issue in practice.)

I think the following change fixes the issue:

modified   libgnucash/engine/qofinstance.cpp
@@ -244,7 +244,7 @@ static void qof_instance_class_init(QofInstanceClass
*klass)

     g_object_class_install_property
     (object_class,
-     PROP_EDITLEVEL,
+     PROP_IDATA,
      g_param_spec_uint ("idata",
                         "Object IData",
                         "Per instance backend private data.",

Since I am new, I would like to confirm before going on.

Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20260125/d5d73f69/attachment.htm>


More information about the gnucash-devel mailing list